diff options
Diffstat (limited to 'pkgs/development/python-modules/fingerprints/default.nix')
-rw-r--r-- | pkgs/development/python-modules/fingerprints/default.nix | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/fingerprints/default.nix b/pkgs/development/python-modules/fingerprints/default.nix index 05affeb93cb57..ecda4d7959b8b 100644 --- a/pkgs/development/python-modules/fingerprints/default.nix +++ b/pkgs/development/python-modules/fingerprints/default.nix @@ -1,18 +1,18 @@ { lib -, fetchPypi +, fetchFromGitHub , buildPythonPackage , normality -, mypy -, coverage -, nose +, pytestCheckHook }: buildPythonPackage rec { pname = "fingerprints"; version = "1.1.0"; - src = fetchPypi { - inherit pname version; - hash = "sha256-GZmurg3rpD081QZW/LUKWblhsQQSS6lg9O7y/kGy4To="; + src = fetchFromGitHub { + owner = "alephdata"; + repo = "fingerprints"; + rev = version; + hash = "sha256-rptBM08dvivfglPvl3PZd9V/7u2SHbJ/BxfVHNGMt3A="; }; propagatedBuildInputs = [ @@ -20,15 +20,9 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - mypy - coverage - nose + pytestCheckHook ]; - checkPhase = '' - nosetests - ''; - pythonImportsCheck = [ "fingerprints" ]; |