python311Packages.fingerprints: refactor

This commit is contained in:
Fabian Affolter
2024-02-01 21:29:30 +01:00
parent b337d5873e
commit 20ff893e12
@@ -1,13 +1,18 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, fetchFromGitHub
, normality
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "fingerprints";
version = "1.2.3";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "alephdata";
@@ -16,6 +21,10 @@ buildPythonPackage rec {
hash = "sha256-U2UslCy1OagVTtllCKsEBX4zI/qIczbxs2Cxzy+/Xys=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
normality
];
@@ -32,6 +41,6 @@ buildPythonPackage rec {
description = "A library to generate entity fingerprints";
homepage = "https://github.com/alephdata/fingerprints";
license = licenses.mit;
maintainers = [ ];
maintainers = with maintainers; [ ];
};
}