python3Packages.volatile: migrate to pyproject

This commit is contained in:
SkohTV
2026-05-25 11:17:59 -04:00
parent 7abdd6c20d
commit efc89f74cd
@@ -3,12 +3,13 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "volatile";
version = "2.1.0";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "mbr";
@@ -17,6 +18,8 @@ buildPythonPackage rec {
hash = "sha256-TYUvr0bscM/FaPk9oiF4Ob7HdKa2HlbpEFmaPfh4ir0=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "volatile" ];