yq: add xmltodict dependency

This commit is contained in:
Robert Schütz 2018-02-27 01:02:25 +01:00
parent 31a94650e2
commit 4e50deb14a
2 changed files with 4 additions and 6 deletions

View File

@ -1,11 +1,10 @@
{ stdenv, lib, buildPythonApplication, fetchPypi, pyyaml, jq }:
{ stdenv, lib, buildPythonApplication, fetchPypi, pyyaml, xmltodict, jq }:
buildPythonApplication rec {
pname = "yq";
version = "2.4.1";
propagatedBuildInputs = [ pyyaml jq ];
propagatedBuildInputs = [ pyyaml xmltodict jq ];
# ValueError: underlying buffer has been detached
doCheck = false;
@ -17,9 +16,8 @@ buildPythonApplication rec {
meta = with lib; {
description = "Command-line YAML processor - jq wrapper for YAML documents.";
homepage = https://pypi.python.org/pypi/yq;
homepage = https://github.com/kislyuk/yq;
license = [ licenses.asl20 ];
maintainers = [ maintainers.womfoo ];
};
}

View File

@ -8214,7 +8214,7 @@ with pkgs;
yodl = callPackage ../development/tools/misc/yodl { };
yq = callPackage ../development/tools/yq {
inherit (python3Packages) buildPythonApplication fetchPypi pyyaml;
inherit (python3Packages) buildPythonApplication fetchPypi pyyaml xmltodict;
};
winpdb = callPackage ../development/tools/winpdb { };