python312Packages.i-pi: adopt pypa build

This commit is contained in:
natsukium 2024-08-17 23:33:42 +09:00
parent b7e9d5d6fd
commit b08afbf6e8
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -4,6 +4,7 @@
fetchFromGitHub,
gfortran,
makeWrapper,
setuptools,
numpy,
pytest,
mock,
@ -13,21 +14,23 @@
buildPythonPackage rec {
pname = "i-pi";
version = "3.0";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "i-pi";
repo = "i-pi";
rev = "refs/tags/v${version}";
sha256 = "sha256-SJ0qTwwdIOR1nXs9MV6O1oxJPR6/6H86wscDy/sLc/g=";
hash = "sha256-SJ0qTwwdIOR1nXs9MV6O1oxJPR6/6H86wscDy/sLc/g=";
};
build-system = [ setuptools ];
nativeBuildInputs = [
gfortran
makeWrapper
];
propagatedBuildInputs = [ numpy ];
dependencies = [ numpy ];
nativeCheckInputs = [
pytest