1{ buildPythonPackage
2, lib
3, fetchPypi
4, isPy27
5, ruamel_yaml
6, python-dateutil
7}:
8
9buildPythonPackage rec {
10 version = "1.3.2";
11 pname = "strictyaml";
12 disabled = isPy27;
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "637399fd80dccc95f5287b2606b74098b23c08031b7ec33c5afb314ccbf10948";
17 };
18
19 propagatedBuildInputs = [ ruamel_yaml python-dateutil ];
20
21 # Library tested with external tool
22 # https://hitchdev.com/approach/contributing-to-hitch-libraries/
23 doCheck = false;
24 pythonImportsCheck = [ "strictyaml" ];
25
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 };
32}