Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 30 lines 702 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, ruamel_base 5, ruamel_ordereddict 6, isPy3k 7}: 8 9buildPythonPackage rec { 10 pname = "ruamel.yaml"; 11 version = "0.15.88"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "ac56193c47a31c9efa151064a9e921865cdad0f7a991d229e7197e12fe8e0cd7"; 16 }; 17 18 # Tests cannot load the module to test 19 doCheck = false; 20 21 propagatedBuildInputs = [ ruamel_base ] 22 ++ stdenv.lib.optional (!isPy3k) ruamel_ordereddict; 23 24 meta = with stdenv.lib; { 25 description = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order"; 26 homepage = https://bitbucket.org/ruamel/yaml; 27 license = licenses.mit; 28 }; 29 30}