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