2018-07-21 02:44:44 +02:00
|
|
|
{ lib, buildPythonApplication, fetchPypi, pyyaml, xmltodict, jq }:
|
2017-11-13 19:32:13 +01:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "yq";
|
2019-01-16 06:21:17 +01:00
|
|
|
version = "2.7.2";
|
2017-11-13 19:32:13 +01:00
|
|
|
|
2018-02-27 01:02:25 +01:00
|
|
|
propagatedBuildInputs = [ pyyaml xmltodict jq ];
|
2017-11-13 19:32:13 +01:00
|
|
|
|
|
|
|
# ValueError: underlying buffer has been detached
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-16 06:21:17 +01:00
|
|
|
sha256 = "1fwvwy75n4rqzh6sxyp2jmjqc7939s0xmrhxw7zhdy6iacggvnpp";
|
2017-11-13 19:32:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Command-line YAML processor - jq wrapper for YAML documents.";
|
2018-02-27 01:02:25 +01:00
|
|
|
homepage = https://github.com/kislyuk/yq;
|
2017-11-13 19:32:13 +01:00
|
|
|
license = [ licenses.asl20 ];
|
|
|
|
maintainers = [ maintainers.womfoo ];
|
|
|
|
};
|
|
|
|
}
|