python310Packages.fingerprints: fix test execution
This commit is contained in:
committed by
Gaetan Lepage
parent
e62497a41c
commit
b2575b31ee
@@ -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"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user