diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pysam/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pysam/default.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pysam/default.nix b/nixpkgs/pkgs/development/python-modules/pysam/default.nix index 50661d924691..d2887eda5847 100644 --- a/nixpkgs/pkgs/development/python-modules/pysam/default.nix +++ b/nixpkgs/pkgs/development/python-modules/pysam/default.nix @@ -4,19 +4,20 @@ , bzip2 , bcftools , curl -, cython +, cython_3 , htslib , libdeflate , xz , pytestCheckHook +, setuptools , samtools , zlib }: buildPythonPackage rec { pname = "pysam"; - version = "0.21.0"; - format = "setuptools"; + version = "0.22.0"; + pyproject = true; # Fetching from GitHub instead of PyPi cause the 0.13 src release on PyPi is # missing some files which cause test failures. @@ -25,10 +26,14 @@ buildPythonPackage rec { owner = "pysam-developers"; repo = "pysam"; rev = "refs/tags/v${version}"; - hash = "sha256-C4/AJwcUyLoUEUEnsATLHJb5F8mltP8X2XfktYu0OTo="; + hash = "sha256-TLqZF5NS9ROH8z7c2ZxfOYNRIe5pabMNBuhQ4azFmDU="; }; - nativeBuildInputs = [ samtools ]; + nativeBuildInputs = [ + cython_3 + samtools + setuptools + ]; buildInputs = [ bzip2 @@ -38,8 +43,6 @@ buildPythonPackage rec { zlib ]; - propagatedBuildInputs = [ cython ]; - # Use nixpkgs' htslib instead of the bundled one # See https://pysam.readthedocs.io/en/latest/installation.html#external # NOTE that htslib should be version compatible with pysam @@ -73,6 +76,7 @@ buildPythonPackage rec { meta = with lib; { description = "A python module for reading, manipulating and writing genome data sets"; + downloadPage = "https://github.com/pysam-developers/pysam"; homepage = "https://pysam.readthedocs.io/"; maintainers = with maintainers; [ unode ]; license = licenses.mit; |