2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pytest,
|
|
|
|
pyyaml,
|
|
|
|
hypothesis,
|
|
|
|
pythonOlder,
|
2020-11-24 20:58:05 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yamlloader";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.4.1";
|
2022-12-17 10:02:37 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-11-24 20:58:05 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-tv5A7PWvWW2EDpIGcO00dfmBNJK/blWyTyrUUMISurU=";
|
2020-11-24 20:58:05 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ pyyaml ];
|
2020-11-24 20:58:05 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-04-26 19:14:03 +00:00
|
|
|
hypothesis
|
2020-11-24 20:58:05 +00:00
|
|
|
pytest
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"yaml"
|
|
|
|
"yamlloader"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Case-insensitive list for Python";
|
2020-11-24 20:58:05 +00:00
|
|
|
homepage = "https://github.com/Phynix/yamlloader";
|
2023-08-22 20:05:09 +00:00
|
|
|
changelog = "https://github.com/Phynix/yamlloader/releases/tag/${version}";
|
2020-11-24 20:58:05 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ freezeboy ];
|
|
|
|
};
|
|
|
|
}
|