python3Packages.arpy: migrate to pyproject (#528219)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-10 23:04:02 +00:00
committed by GitHub
@@ -2,21 +2,26 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "arpy";
version = "2.3.0";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "viraptor";
repo = "arpy";
rev = version;
tag = finalAttrs.version;
hash = "sha256-jD1XJJhcpJymn0CwZ65U06xLKm1JjHffmx/umEO7a5s=";
};
build-system = [ setuptools ];
checkInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "arpy" ];
@@ -27,4 +32,4 @@ buildPythonPackage rec {
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ thornycrackers ];
};
}
})