2021-04-25 03:57:28 +00:00
|
|
|
{ lib
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchFromGitHub
|
2021-04-25 03:57:28 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, normality
|
2023-07-15 17:15:38 +00:00
|
|
|
, pytestCheckHook
|
2021-04-25 03:57:28 +00:00
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fingerprints";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "1.1.0";
|
2021-04-25 03:57:28 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alephdata";
|
|
|
|
repo = "fingerprints";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-rptBM08dvivfglPvl3PZd9V/7u2SHbJ/BxfVHNGMt3A=";
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
normality
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-07-15 17:15:38 +00:00
|
|
|
pytestCheckHook
|
2021-04-25 03:57:28 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"fingerprints"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A library to generate entity fingerprints";
|
|
|
|
homepage = "https://github.com/alephdata/fingerprints";
|
|
|
|
license = licenses.mit;
|
2023-03-24 00:07:29 +00:00
|
|
|
maintainers = [ ];
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
}
|