Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 534 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pyyaml 5, unidecode 6}: 7 8buildPythonPackage rec { 9 pname = "pyaml"; 10 version = "18.11.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "b96292cc409e0f222b6fecff96afd2e19cfab5d1f2606344907751d42301263a"; 15 }; 16 17 propagatedBuildInputs = [ pyyaml ]; 18 19 checkInputs = [ unidecode ]; 20 21 meta = { 22 description = "PyYAML-based module to produce pretty and readable YAML-serialized data"; 23 homepage = https://github.com/mk-fg/pretty-yaml; 24 license = lib.licenses.wtfpl; 25 }; 26}