Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 29 lines 668 B view raw
1{ buildPythonPackage 2, lib 3, fetchPypi 4, ruamel_yaml 5, python-dateutil 6}: 7 8buildPythonPackage rec { 9 version = "1.0.6"; 10 pname = "strictyaml"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "dd687a32577e0b832619ce0552eac86d6afad5fa7b61ab041bb765881c6a1f36"; 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}