3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ruamel_yaml/default.nix
2019-10-18 09:54:01 +02:00

31 lines
703 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, ruamel_base
, ruamel_ordereddict
, isPy3k
}:
buildPythonPackage rec {
pname = "ruamel.yaml";
version = "0.15.100";
src = fetchPypi {
inherit pname version;
sha256 = "8e42f3067a59e819935a2926e247170ed93c8f0b2ab64526f888e026854db2e4";
};
# Tests cannot load the module to test
doCheck = false;
propagatedBuildInputs = [ ruamel_base ]
++ stdenv.lib.optional (!isPy3k) ruamel_ordereddict;
meta = with stdenv.lib; {
description = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order";
homepage = https://bitbucket.org/ruamel/yaml;
license = licenses.mit;
};
}