Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, lib 3, fetchPypi 4, isPy27 5, ruamel_yaml 6, python-dateutil 7}: 8 9buildPythonPackage rec { 10 version = "1.1.0"; 11 pname = "strictyaml"; 12 disabled = isPy27; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "6b07dbd4f77ab023ed4167c43ffc1b9f9354fb6075cc6ff3b91fefcbb80342ca"; 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}