about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/yamlloader/default.nix
blob: d2b66cb073d73f59a730743d9719bcfa56cf41e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib, buildPythonPackage, fetchPypi
, pytest, pyyaml, hypothesis
}:

buildPythonPackage rec {
  pname = "yamlloader";
  version = "1.0.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "e96dc3dc6895d814c330c054c966d993fc81ef1dbf5a30a4bdafeb256359e058";
  };

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