python3Packages.looseversion: switch to pypaBuildHook

This commit is contained in:
Peder Bergebakken Sundt 2023-09-10 00:16:25 +02:00
parent b2450a4468
commit 215bfa6c37

View File

@ -2,18 +2,23 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, hatchling
}:
buildPythonPackage rec {
pname = "looseversion";
version = "1.3.0";
format = "flit";
format = "pyproject";
src = fetchPypi {
inherit version pname;
sha256 = "sha256-695l8/a7lTGoEBbG/vPrlaYRga3Ee3+UnpwOpHkRZp4=";
};
nativeBuildInputs = [
hatchling
];
nativeCheckInputs = [
pytestCheckHook
];