From 97c4ed5f317db13149f0ecb5ef35dcc61d47cbe5 Mon Sep 17 00:00:00 2001 From: Pyrox Date: Wed, 31 Jul 2024 17:15:30 -0400 Subject: [PATCH] python312Packages.mwtypes: modernize --- pkgs/development/python-modules/mwtypes/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mwtypes/default.nix b/pkgs/development/python-modules/mwtypes/default.nix index 8b52efa2b626..727d5e61821c 100644 --- a/pkgs/development/python-modules/mwtypes/default.nix +++ b/pkgs/development/python-modules/mwtypes/default.nix @@ -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 ]; }; }