Files
nixpkgs/pkgs/development/python-modules/fingerprints/default.nix

37 lines
717 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
normality,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "fingerprints";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "opensanctions";
repo = "fingerprints";
tag = version;
hash = "sha256-Q+XCsuGMHPtOqB0SauVuYInR5FGMuG6aNhqiAwTJvSI=";
};
build-system = [ hatchling ];
dependencies = [ normality ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "fingerprints" ];
meta = {
description = "Library to generate entity fingerprints";
homepage = "https://github.com/opensanctions/fingerprints";
license = lib.licenses.mit;
maintainers = [ ];
};
}