forked from mirrors/nixpkgs
30 lines
632 B
Nix
30 lines
632 B
Nix
|
{ stdenv
|
||
|
, buildPythonPackage
|
||
|
, fetchFromBitbucket
|
||
|
, ruamel_base
|
||
|
, ruamel_ordereddict
|
||
|
, isPy3k
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "ruamel.yaml.clib";
|
||
|
version = "0.2.0";
|
||
|
|
||
|
src = fetchFromBitbucket {
|
||
|
owner = "ruamel";
|
||
|
repo = "yaml.clib";
|
||
|
rev = version;
|
||
|
sha256 = "0kq6zi96qlm72lzj90fc2rfk6nm5kqhk6qxdl8wl9s3a42b0v6wl";
|
||
|
};
|
||
|
|
||
|
# outputs match wheel
|
||
|
doCheck = false;
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
|
||
|
}
|