summary refs log tree commit diff
path: root/pkgs/development/python-modules/strictyaml/default.nix
blob: 2e4b416f0478e4b48b8fa9123453d8abcd842a7c (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
{ buildPythonPackage
, lib
, fetchPypi
, ruamel_yaml
, python-dateutil
}:

buildPythonPackage rec {
  version = "1.0.6";
  pname = "strictyaml";

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

  propagatedBuildInputs = [ ruamel_yaml python-dateutil ];

  # Library tested with external tool
  # https://hitchdev.com/approach/contributing-to-hitch-libraries/
  doCheck = false;

  meta = with lib; {
    description = "Strict, typed YAML parser";
    homepage = "https://hitchdev.com/strictyaml/";
    license = licenses.mit;
    maintainers = with maintainers; [ jonringer ];
  };
}