2020-10-31 21:49:02 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2021-04-18 18:50:46 +01:00
|
|
|
, pytest, pyyaml, hypothesis
|
2020-10-31 21:49:02 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yamlloader";
|
2021-08-26 20:32:47 +01:00
|
|
|
version = "1.1.0";
|
2020-10-31 21:49:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 20:32:47 +01:00
|
|
|
sha256 = "8a297c7a197683ba02e5e2b882ffd6c6180d01bdefb534b69cd3962df020bfe6";
|
2020-10-31 21:49:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyyaml
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-04-18 18:50:46 +01:00
|
|
|
hypothesis
|
2020-10-31 21:49:02 +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 ];
|
|
|
|
};
|
|
|
|
}
|