Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / strictyaml / default.nix
blobddc497a64ab66cd216c23c5efa070a1fac9eb8a3
1 { buildPythonPackage
2 , lib
3 , fetchPypi
4 , isPy27
5 , ruamel_yaml
6 , python-dateutil
7 }:
9 buildPythonPackage rec {
10   version = "1.3.2";
11   pname = "strictyaml";
12   disabled = isPy27;
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "637399fd80dccc95f5287b2606b74098b23c08031b7ec33c5afb314ccbf10948";
17   };
19   propagatedBuildInputs = [ ruamel_yaml python-dateutil ];
21   # Library tested with external tool
22   # https://hitchdev.com/approach/contributing-to-hitch-libraries/
23   doCheck = false;
24   pythonImportsCheck = [ "strictyaml" ];
26   meta = with lib; {
27     description = "Strict, typed YAML parser";
28     homepage = "https://hitchdev.com/strictyaml/";
29     license = licenses.mit;
30     maintainers = with maintainers; [ jonringer ];
31   };