Skip to content

Commit 8989a70

Browse files
committed
python312Packages.jsonable: modernize
1 parent 919a524 commit 8989a70

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pkgs/development/python-modules/jsonable/default.nix

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
fetchFromGitHub,
55
pytestCheckHook,
66
fetchpatch2,
7+
setuptools,
78
}:
89

910
buildPythonPackage rec {
1011
pname = "jsonable";
1112
version = "0.3.1";
12-
format = "setuptools";
13+
pyproject = true;
1314

1415
src = fetchFromGitHub {
1516
owner = "halfak";
@@ -27,14 +28,16 @@ buildPythonPackage rec {
2728
})
2829
];
2930

31+
build-system = [ setuptools ];
32+
3033
nativeCheckInputs = [ pytestCheckHook ];
3134

3235
pythonImportsCheck = [ "jsonable" ];
3336

34-
meta = with lib; {
37+
meta = {
3538
description = "Provides an abstract base class and utilities for defining trivially JSONable python objects";
3639
homepage = "https://github.com/halfak/python-jsonable";
37-
license = licenses.mit;
38-
maintainers = with maintainers; [ GaetanLepage ];
40+
license = lib.licenses.mit;
41+
maintainers = with lib.maintainers; [ GaetanLepage ];
3942
};
4043
}

0 commit comments

Comments
 (0)