depot/third_party/nixpkgs/pkgs/development/python-modules/fingerprints/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

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 = [ ];
};
}