diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2020-08-09 11:25:44 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2020-08-09 17:19:24 +0300 |
commit | 507da2fef84bf190c811ab6cf7723aec0255b0d9 (patch) | |
tree | b2accd9f16d030f40811597c68fcdccd3cc62efe /gnu/packages/golang.scm | |
parent | b186a8c52b9491d9cafa206335597cf577a9c2cf (diff) | |
download | guix-507da2fef84bf190c811ab6cf7723aec0255b0d9.tar.gz |
gnu: Factorize go-github-com-emirpasic-gods.
* gnu/packages/golang.scm (go-github-com-emirpasic-gods-trees-binaryheap, go-github-com-emirpasic-gods-containers, go-github-com-emirpasic-gods-lists-arraylist, go-github-com-emirpasic-gods-utils): Delete variables. (go-github-com-emirpasic-gods): New variable.
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r-- | gnu/packages/golang.scm | 36 |
1 files changed, 8 insertions, 28 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 0a7cf32e05..ab1bcace9e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5044,9 +5044,9 @@ use one of our glamourous default themes.") It lets you parse and compare two semantic version strings.") (license license:asl2.0))) -(define-public go-github-com-emirpasic-gods-trees-binaryheap +(define-public go-github-com-emirpasic-gods (package - (name "go-github-com-emirpasic-gods-trees-binaryheap") + (name "go-github-com-emirpasic-gods") (version "1.12.0") (source (origin (method git-fetch) @@ -5059,38 +5059,18 @@ It lets you parse and compare two semantic version strings.") "0i5qqq7ajvw3mikr95zl9rsnfsjanzwpqqs6kzzplsfgsifybar1")))) (build-system go-build-system) (arguments - `(#:import-path "github.com/emirpasic/gods/trees/binaryheap" - #:unpack-path "github.com/emirpasic/gods")) + `(#:import-path "github.com/emirpasic/gods" + ; Source-only package + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'build)))) (home-page "https://github.com/emirpasic/gods/") (synopsis "Implementation of various data structures and algorithms in Go") (description "This package provides implementation of various data structures and algorithms in Go.") (license license:bsd-2))) -(define-public go-github-com-emirpasic-gods-containers - (package - (inherit go-github-com-emirpasic-gods-trees-binaryheap) - (name "go-github-com-emirpasic-gods-containers") - (arguments - `(#:import-path "github.com/emirpasic/gods/containers" - #:unpack-path "github.com/emirpasic/gods")))) - -(define-public go-github-com-emirpasic-gods-lists-arraylist - (package - (inherit go-github-com-emirpasic-gods-trees-binaryheap) - (name "go-github-com-emirpasic-gods-lists-arraylist") - (arguments - `(#:import-path "github.com/emirpasic/gods/lists/arraylist" - #:unpack-path "github.com/emirpasic/gods")))) - -(define-public go-github-com-emirpasic-gods-utils - (package - (inherit go-github-com-emirpasic-gods-trees-binaryheap) - (name "go-github-com-emirpasic-gods-utils") - (arguments - `(#:import-path "github.com/emirpasic/gods/utils" - #:unpack-path "github.com/emirpasic/gods")))) - (define-public go-gopkg-in-warnings (package (name "go-gopkg-in-warnings") |