summary refs log tree commit diff
path: root/pkgs/development/python-modules/modeled
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-01-01 00:40:58 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-01-01 00:40:58 +0100
commit83a9c4554317d3df12d519f3daedd1b34c560ec7 (patch)
tree5cac6c12d364b59384aaa513a746b16c50e003d9 /pkgs/development/python-modules/modeled
parent9b2ddc9ad0b528513b4fa17ee4695a9055e0a15c (diff)
downloadnixpkgs-83a9c4554317d3df12d519f3daedd1b34c560ec7.tar
nixpkgs-83a9c4554317d3df12d519f3daedd1b34c560ec7.tar.gz
nixpkgs-83a9c4554317d3df12d519f3daedd1b34c560ec7.tar.bz2
nixpkgs-83a9c4554317d3df12d519f3daedd1b34c560ec7.tar.lz
nixpkgs-83a9c4554317d3df12d519f3daedd1b34c560ec7.tar.xz
nixpkgs-83a9c4554317d3df12d519f3daedd1b34c560ec7.tar.zst
nixpkgs-83a9c4554317d3df12d519f3daedd1b34c560ec7.zip
pythonPackages.modeled: Fix hash, cleanup
Diffstat (limited to 'pkgs/development/python-modules/modeled')
-rw-r--r--pkgs/development/python-modules/modeled/default.nix24
1 files changed, 6 insertions, 18 deletions
diff --git a/pkgs/development/python-modules/modeled/default.nix b/pkgs/development/python-modules/modeled/default.nix
index e4cdec7766d..66fe63e3daf 100644
--- a/pkgs/development/python-modules/modeled/default.nix
+++ b/pkgs/development/python-modules/modeled/default.nix
@@ -5,7 +5,7 @@
 , six
 , moretools
 , pathpy
-, pytest
+, pytestCheckHook
 }:
 
 buildPythonPackage rec {
@@ -15,31 +15,19 @@ buildPythonPackage rec {
   src = fetchPypi {
     extension = "zip";
     inherit pname version;
-    sha256 = "64934c68cfcdb75ed4a1ccadcfd5d2a46bf1b8e8e81dde89ef0f042c401e94f1";
+    sha256 = "1wcl3r02q10gxy4xw7g8x2wg2sx4sbawzbfcl7a5xdydrxl4r4v4";
   };
 
-  buildInputs = [
-    zetup
-  ];
+  buildInputs = [ zetup ];
 
-  propagatedBuildInputs = [
-    six
-    moretools
-    pathpy
-  ];
+  propagatedBuildInputs = [ six moretools pathpy ];
 
-  checkInputs = [
-    pytest
-  ];
-
-  checkPhase = ''
-    pytest test
-  '';
+  checkInputs = [ pytestCheckHook ];
 
   meta = with lib; {
     description = "Universal data modeling for Python";
     homepage = "https://bitbucket.org/userzimmermann/python-modeled";
-    license = licenses.lgpl3;
+    license = licenses.lgpl3Only;
     maintainers = [ maintainers.costrouc ];
   };
 }