Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 29 lines 656 B view raw
1{ buildPythonPackage 2, lib 3, fetchPypi 4, ruamel_yaml 5, python-dateutil 6}: 7 8buildPythonPackage rec { 9 version = "1.0.1"; 10 pname = "strictyaml"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "1baz5zjl1z9dwaczaga1ik1iy1v9zg3acwnpmgghwnk9hw2i1mq6"; 15 }; 16 17 propagatedBuildInputs = [ ruamel_yaml python-dateutil ]; 18 19 # Library tested with external tool 20 # https://hitchdev.com/approach/contributing-to-hitch-libraries/ 21 doCheck = false; 22 23 meta = with lib; { 24 description = "Strict, typed YAML parser"; 25 homepage = https://hitchdev.com/strictyaml/; 26 license = licenses.mit; 27 maintainers = with maintainers; [ jonringer ]; 28 }; 29}