depot/third_party/nixpkgs/pkgs/development/python-modules/yamlloader/default.nix

43 lines
708 B
Nix
Raw Normal View History

{ 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 ];
};
}