python312Packages.saneyaml: refactor

This commit is contained in:
Fabian Affolter 2024-08-15 07:58:44 +02:00 committed by GitHub
parent e504dff21e
commit 8406a2dc5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,12 +5,16 @@
setuptools-scm,
pyyaml,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "saneyaml";
version = "0.6.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
@ -19,9 +23,9 @@ buildPythonPackage rec {
dontConfigure = true;
nativeBuildInputs = [ setuptools-scm ];
build-system = [ setuptools-scm ];
propagatedBuildInputs = [ pyyaml ];
dependencies = [ pyyaml ];
nativeCheckInputs = [ pytestCheckHook ];