Skip to content

Commit b08afbf

Browse files
committed
python312Packages.i-pi: adopt pypa build
1 parent b7e9d5d commit b08afbf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pkgs/development/python-modules/i-pi/default.nix

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
fetchFromGitHub,
55
gfortran,
66
makeWrapper,
7+
setuptools,
78
numpy,
89
pytest,
910
mock,
@@ -13,21 +14,23 @@
1314
buildPythonPackage rec {
1415
pname = "i-pi";
1516
version = "3.0";
16-
format = "setuptools";
17+
pyproject = true;
1718

1819
src = fetchFromGitHub {
1920
owner = "i-pi";
2021
repo = "i-pi";
2122
rev = "refs/tags/v${version}";
22-
sha256 = "sha256-SJ0qTwwdIOR1nXs9MV6O1oxJPR6/6H86wscDy/sLc/g=";
23+
hash = "sha256-SJ0qTwwdIOR1nXs9MV6O1oxJPR6/6H86wscDy/sLc/g=";
2324
};
2425

26+
build-system = [ setuptools ];
27+
2528
nativeBuildInputs = [
2629
gfortran
2730
makeWrapper
2831
];
2932

30-
propagatedBuildInputs = [ numpy ];
33+
dependencies = [ numpy ];
3134

3235
nativeCheckInputs = [
3336
pytest

0 commit comments

Comments
 (0)