Skip to content

Commit c1193da

Browse files
committed
python3Packages.mkdocs-redirects: switch to pyproject, hatchling
was done upstream in mkdocs/mkdocs-redirects@f3d0e12 which was included in the 1.2.2 release
1 parent b8d3fd7 commit c1193da

File tree

1 file changed

+4
-1
lines changed
  • pkgs/development/python-modules/mkdocs-redirects

1 file changed

+4
-1
lines changed

pkgs/development/python-modules/mkdocs-redirects/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5+
hatchling,
56
mkdocs,
67
pytestCheckHook,
78
}:
89

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

1415
src = fetchFromGitHub {
1516
owner = "mkdocs";
@@ -18,6 +19,8 @@ buildPythonPackage rec {
1819
hash = "sha256-YsMA00yajeGSqSB6CdKxGqyClC9Cgc3ImRBTucHEHhs=";
1920
};
2021

22+
build-system = [ hatchling ];
23+
2124
propagatedBuildInputs = [ mkdocs ];
2225

2326
nativeCheckInputs = [ pytestCheckHook ];

0 commit comments

Comments
 (0)