410b979fe2
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
42 lines
671 B
Nix
42 lines
671 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, normality
|
|
, mypy
|
|
, coverage
|
|
, nose
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "fingerprints";
|
|
version = "1.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-GZmurg3rpD081QZW/LUKWblhsQQSS6lg9O7y/kGy4To=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
normality
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mypy
|
|
coverage
|
|
nose
|
|
];
|
|
|
|
checkPhase = ''
|
|
nosetests
|
|
'';
|
|
|
|
pythonImportsCheck = [
|
|
"fingerprints"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A library to generate entity fingerprints";
|
|
homepage = "https://github.com/alephdata/fingerprints";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|