2020-11-24 20:58:05 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2021-04-26 19:14:03 +00:00
|
|
|
, pytest, pyyaml, hypothesis
|
2020-11-24 20:58:05 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yamlloader";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "1.1.0";
|
2020-11-24 20:58:05 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "8a297c7a197683ba02e5e2b882ffd6c6180d01bdefb534b69cd3962df020bfe6";
|
2020-11-24 20:58:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyyaml
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-04-26 19:14:03 +00:00
|
|
|
hypothesis
|
2020-11-24 20:58:05 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|