about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2021-04-23 23:45:17 -0400
committerGitHub <noreply@github.com>2021-04-23 23:45:17 -0400
commite4e75149fd5564a633a56af4a6c21a9d2f68c7ba (patch)
tree725cd2a7aaaf4477901d0a23ba812663e8bc184e /pkgs
parent93de027ee045d0c1fbf13418fb86d86e6309b962 (diff)
parent63a43ed80e2303c3d7b7f92a0551ec1aa01dd480 (diff)
Merge pull request #120323 from dotlambda/bitarray-2.0.1
pythonPackages.bitarray: 1.8.1 -> 2.0.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/bitarray/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/bitarray/default.nix b/pkgs/development/python-modules/bitarray/default.nix
index dc09aa2c6bcb2..c3965b10a2aba 100644
--- a/pkgs/development/python-modules/bitarray/default.nix
+++ b/pkgs/development/python-modules/bitarray/default.nix
@@ -1,14 +1,19 @@
-{ lib, buildPythonPackage, fetchPypi }:
+{ lib, buildPythonPackage, fetchPypi, python }:
 
 buildPythonPackage rec {
   pname = "bitarray";
-  version = "1.8.1";
+  version = "2.0.1";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "e02f79fba7a470d438eb39017d503498faaf760b17b6b46af1a9de12fd58d311";
+    sha256 = "sha256-7DpPbXEaee0jrqlUFjjTNT3D8IPyk6ExgLFLSC4+Ge8=";
   };
 
+  checkPhase = ''
+    cd $out
+    ${python.interpreter} -c 'import bitarray; bitarray.test()'
+  '';
+
   pythonImportsCheck = [ "bitarray" ];
 
   meta = with lib; {