python310Packages.yamlloader: disable on unsupported Python releases

This commit is contained in:
Fabian Affolter 2022-12-04 15:04:35 +01:00 committed by GitHub
parent 788cdf4c90
commit 53dfcae8a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,14 +1,22 @@
{ lib, buildPythonPackage, fetchPypi
, pytest, pyyaml, hypothesis
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pyyaml
, hypothesis
, pythonOlder
}:
buildPythonPackage rec {
pname = "yamlloader";
version = "1.2.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-NWaf17n4xrONuGGlFwFULEJnK0boq2MlNIaoy4N3toc=";
hash = "sha256-NWaf17n4xrONuGGlFwFULEJnK0boq2MlNIaoy4N3toc=";
};
propagatedBuildInputs = [