nixpkgs/pkgs/development/python-modules/ruamel_yaml/default.nix
Robert Schütz cee5f2b622 python.pkgs.ruamel_yaml: do not depend on typing
The dependency was removed in version 0.14.9.
2018-12-12 16:44:05 +01:00

31 lines
690 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, ruamel_base
, ruamel_ordereddict
, isPy3k
}:
buildPythonPackage rec {
pname = "ruamel.yaml";
version = "0.15.80";
src = fetchPypi {
inherit pname version;
sha256 = "1rhlshff9csjwn64x11b9a7gbxccs1vd7rdiqwlhifjxax8k682g";
};
# 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;
};
}