gnu: python-biom-format: Fetch source from git.

* gnu/packages/bioinformatics.scm (python-biom-format)[source]: Fetch from
git.
This commit is contained in:
Ricardo Wurmus 2018-11-07 19:10:36 +01:00
parent 383cb7b8e6
commit 007a81d5cf
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 30 additions and 29 deletions

View File

@ -690,38 +690,39 @@ Python.")
(define-public python-biom-format (define-public python-biom-format
(package (package
(name "python-biom-format") (name "python-biom-format")
(version "2.1.6") (version "2.1.6")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
;; Use GitHub as source because PyPI distribution does not contain ;; Use GitHub as source because PyPI distribution does not contain
;; test data: https://github.com/biocore/biom-format/issues/693 ;; test data: https://github.com/biocore/biom-format/issues/693
(uri (string-append "https://github.com/biocore/biom-format/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/biocore/biom-format.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"08cr7wpahk6zb31h4bs7jmzpvxcqv9s13xz40h6y2h656jvdvnpj")))) (base32
(build-system python-build-system) "00yi8hkj3n7vdz8p8x93bi810f7cpm8rb0dd3kfhr2cpbmd2rsql"))))
(propagated-inputs (build-system python-build-system)
`(("python-numpy" ,python-numpy) (propagated-inputs
("python-scipy" ,python-scipy) `(("python-numpy" ,python-numpy)
("python-future" ,python-future) ("python-scipy" ,python-scipy)
("python-click" ,python-click) ("python-future" ,python-future)
("python-h5py" ,python-h5py) ("python-click" ,python-click)
("python-pandas" ,python-pandas))) ("python-h5py" ,python-h5py)
(native-inputs ("python-pandas" ,python-pandas)))
`(("python-nose" ,python-nose))) (native-inputs
(home-page "http://www.biom-format.org") `(("python-nose" ,python-nose)))
(synopsis "Biological Observation Matrix (BIOM) format utilities") (home-page "http://www.biom-format.org")
(description (synopsis "Biological Observation Matrix (BIOM) format utilities")
"The BIOM file format is designed to be a general-use format for (description
"The BIOM file format is designed to be a general-use format for
representing counts of observations e.g. operational taxonomic units, KEGG representing counts of observations e.g. operational taxonomic units, KEGG
orthology groups or lipid types, in one or more biological samples orthology groups or lipid types, in one or more biological samples
e.g. microbiome samples, genomes, metagenomes.") e.g. microbiome samples, genomes, metagenomes.")
(license license:bsd-3) (license license:bsd-3)
(properties `((python2-variant . ,(delay python2-biom-format)))))) (properties `((python2-variant . ,(delay python2-biom-format))))))
(define-public python2-biom-format (define-public python2-biom-format
(let ((base (package-with-python2 (strip-python2-variant python-biom-format)))) (let ((base (package-with-python2 (strip-python2-variant python-biom-format))))