about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2023-08-11 18:00:10 +0200
committerGitHub <noreply@github.com>2023-08-11 18:00:10 +0200
commit03a7670e8ce4a05f26392d3775355ec0f9576fbf (patch)
tree1937756f8f43b75acc1ed59fee9f873c6e9ec2af /pkgs/development
parent8365cc56858efc7f25ab4640bfda4fbd8b0b3132 (diff)
parent8193aa415d442739a6bd022fff3b38706aadbd7b (diff)
Merge pull request #248464 from r-ryantm/auto-update/python310Packages.bx-python
python310Packages.bx-python: 0.9.0 -> 0.10.0
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/bx-python/default.nix48
1 files changed, 35 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/bx-python/default.nix b/pkgs/development/python-modules/bx-python/default.nix
index 085fc210f1b86..5fc21676d261a 100644
--- a/pkgs/development/python-modules/bx-python/default.nix
+++ b/pkgs/development/python-modules/bx-python/default.nix
@@ -1,27 +1,49 @@
-{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, numpy, cython, zlib, six
-, python-lzo, nose }:
+{ lib
+, fetchFromGitHub
+, buildPythonPackage
+, pythonOlder
+, numpy
+, cython
+, zlib
+, python-lzo
+, nose
+}:
 
 buildPythonPackage rec {
   pname = "bx-python";
-  version = "0.9.0";
-  disabled = pythonOlder "3.6";
+  version = "0.10.0";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.7";
 
   src = fetchFromGitHub {
     owner = "bxlab";
     repo = "bx-python";
     rev = "refs/tags/v${version}";
-    hash = "sha256-Pi4hV3FatCXoXY3nNgqm5UfWYIrpP/v5PzzCi3gmIbE=";
+    hash = "sha256-j2GKj2IGDBk4LBnISRx6ZW/lh5VSdQBasC0gCRj0Fiw=";
   };
 
-  nativeBuildInputs = [ cython ];
-  buildInputs = [ zlib ];
-  propagatedBuildInputs = [ numpy six python-lzo ];
-  nativeCheckInputs = [ nose ];
+  nativeBuildInputs = [
+    cython
+  ];
+
+  buildInputs = [
+    zlib
+  ];
+
+  propagatedBuildInputs = [
+    numpy
+    python-lzo
+  ];
+
+  nativeCheckInputs = [
+    nose
+  ];
 
   postInstall = ''
     cp -r scripts/* $out/bin
 
-    # This is a small hack; the test suit uses the scripts which need to
+    # This is a small hack; the test suite uses the scripts which need to
     # be patched. Linking the patched scripts in $out back to the
     # working directory allows the tests to run
     rm -rf scripts
@@ -29,11 +51,11 @@ buildPythonPackage rec {
   '';
 
   meta = with lib; {
+    description = "Tools for manipulating biological data, particularly multiple sequence alignments";
     homepage = "https://github.com/bxlab/bx-python";
-    description =
-      "Tools for manipulating biological data, particularly multiple sequence alignments";
+    changelog = "https://github.com/bxlab/bx-python/releases/tag/v${version}";
     license = licenses.mit;
-    maintainers = [ maintainers.jbedo ];
+    maintainers = with maintainers; [ jbedo ];
     platforms = [ "x86_64-linux" ];
   };
 }