depot/third_party/nixpkgs/pkgs/development/python-modules/fingerprints/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

39 lines
779 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 = "Library to generate entity fingerprints";
homepage = "https://github.com/alephdata/fingerprints";
license = licenses.mit;
maintainers = [ ];
};
}