python312Packages.mwtypes: modernize

This commit is contained in:
Pyrox 2024-07-31 17:15:30 -04:00
parent 3e86a007dc
commit 97c4ed5f31
No known key found for this signature in database
GPG Key ID: 8CDF3F7CAA53A0F5

View File

@ -5,6 +5,7 @@
jsonable,
pytestCheckHook,
fetchpatch2,
setuptools,
}:
buildPythonPackage rec {
@ -26,7 +27,9 @@ buildPythonPackage rec {
})
];
propagatedBuildInputs = [ jsonable ];
build-system = [ setuptools ];
dependencies = [ jsonable ];
nativeCheckInputs = [ pytestCheckHook ];
@ -35,10 +38,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "mwtypes" ];
meta = with lib; {
meta = {
description = "Set of classes for working with MediaWiki data types";
homepage = "https://github.com/mediawiki-utilities/python-mwtypes";
license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}