a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
42 lines
708 B
Nix
42 lines
708 B
Nix
{ 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;
|
|
hash = "sha256-NWaf17n4xrONuGGlFwFULEJnK0boq2MlNIaoy4N3toc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pyyaml
|
|
];
|
|
|
|
checkInputs = [
|
|
hypothesis
|
|
pytest
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"yaml"
|
|
"yamlloader"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A case-insensitive list for Python";
|
|
homepage = "https://github.com/Phynix/yamlloader";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ freezeboy ];
|
|
};
|
|
}
|