python2Packages.ruamel-yaml: reinit at 0.16.13
This commit is contained in:
parent
9bb53fbb8c
commit
070e353e08
40
pkgs/development/python-modules/ruamel_yaml/0.16.nix
Normal file
40
pkgs/development/python-modules/ruamel_yaml/0.16.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, ruamel_base
|
||||
, ruamel_ordereddict ? null
|
||||
, ruamel_yaml_clib ? null
|
||||
, isPy3k
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ruamel.yaml";
|
||||
version = "0.16.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0hm9yg785f46bkrgqknd6fdvmkby9dpzjnm0b63qf0i748acaj5v";
|
||||
};
|
||||
|
||||
# Tests use relative paths
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ ruamel_base ]
|
||||
++ lib.optional (!isPy3k) ruamel_ordereddict
|
||||
++ lib.optional (!isPyPy) ruamel_yaml_clib;
|
||||
|
||||
# causes namespace clash on py27
|
||||
dontUsePythonImportsCheck = !isPy3k;
|
||||
pythonImportsCheck = [
|
||||
"ruamel.yaml"
|
||||
"ruamel.base"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order";
|
||||
homepage = "https://sourceforge.net/projects/ruamel-yaml/";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -520,6 +520,9 @@ with self; with super; {
|
||||
ruamel-ordereddict = self.ruamel_ordereddict;
|
||||
ruamel_ordereddict = callPackage ../development/python-modules/ruamel_ordereddict { };
|
||||
|
||||
ruamel_yaml = self.ruamel-yaml;
|
||||
ruamel-yaml = callPackage ../development/python-modules/ruamel_yaml/0.16.nix { };
|
||||
|
||||
runsnakerun = callPackage ../development/python-modules/runsnakerun { };
|
||||
|
||||
rpm = disabled super.rpm;
|
||||
|
Loading…
Reference in New Issue
Block a user