Files
nixpkgs/pkgs/development/python-modules/fingerprints/default.nix
T
2024-02-01 21:29:30 +01:00

47 lines
814 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, normality
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "fingerprints";
version = "1.2.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "alephdata";
repo = "fingerprints";
rev = version;
hash = "sha256-U2UslCy1OagVTtllCKsEBX4zI/qIczbxs2Cxzy+/Xys=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
normality
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"fingerprints"
];
meta = with lib; {
description = "A library to generate entity fingerprints";
homepage = "https://github.com/alephdata/fingerprints";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}