diff options
Diffstat (limited to 'pkgs/development/python-modules/strictyaml')
-rw-r--r-- | pkgs/development/python-modules/strictyaml/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/strictyaml/default.nix b/pkgs/development/python-modules/strictyaml/default.nix new file mode 100644 index 00000000000..50c1cc50a2c --- /dev/null +++ b/pkgs/development/python-modules/strictyaml/default.nix @@ -0,0 +1,29 @@ +{ buildPythonPackage +, lib +, fetchPypi +, ruamel_yaml +, python-dateutil +}: + +buildPythonPackage rec { + version = "1.0.1"; + pname = "strictyaml"; + + src = fetchPypi { + inherit pname version; + sha256 = "1baz5zjl1z9dwaczaga1ik1iy1v9zg3acwnpmgghwnk9hw2i1mq6"; + }; + + 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 ]; + }; +} |