depot/third_party/nixpkgs/pkgs/development/python-modules/fingerprints/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

39 lines
797 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 = with maintainers; [ ];
};
}