python312Packages.mohawk: modernize

This commit is contained in:
Pyrox 2024-08-02 15:27:17 -04:00
parent fbc527262b
commit e3607cabb8
No known key found for this signature in database
GPG Key ID: 8CDF3F7CAA53A0F5

View File

@ -5,16 +5,17 @@
fetchpatch2, fetchpatch2,
pytestCheckHook, pytestCheckHook,
six, six,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "mohawk"; pname = "mohawk";
version = "1.1.0"; version = "1.1.0";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "08wppsv65yd0gdxy5zwq37yp6jmxakfz4a2yx5wwq2d222my786j"; hash = "sha256-0qDjqxCiCcx56V4o8t1UvUpz/RmY/+J7e6D5Yra+lyM=";
}; };
patches = [ patches = [
@ -26,7 +27,9 @@ buildPythonPackage rec {
}) })
]; ];
propagatedBuildInputs = [ six ]; build-system = [ setuptools ];
dependencies = [ six ];
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ];