Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / yamlloader / default.nix
blob69019ab75e06fbccd5e14b2d1ebfaa1818929c2c
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytest
5 , pyyaml
6 , hypothesis
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "yamlloader";
12   version = "1.4.1";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-tv5A7PWvWW2EDpIGcO00dfmBNJK/blWyTyrUUMISurU=";
20   };
22   propagatedBuildInputs = [
23     pyyaml
24   ];
26   nativeCheckInputs = [
27     hypothesis
28     pytest
29   ];
31   pythonImportsCheck = [
32     "yaml"
33     "yamlloader"
34   ];
36   meta = with lib; {
37     description = "A case-insensitive list for Python";
38     homepage = "https://github.com/Phynix/yamlloader";
39     changelog = "https://github.com/Phynix/yamlloader/releases/tag/${version}";
40     license = licenses.mit;
41     maintainers = with maintainers; [ freezeboy ];
42   };