1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/development/tools/yq/default.nix

24 lines
613 B
Nix
Raw Normal View History

{ lib, buildPythonApplication, fetchPypi, pyyaml, xmltodict, jq }:
2017-11-13 18:32:13 +00:00
buildPythonApplication rec {
pname = "yq";
version = "2.7.2";
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;
sha256 = "1fwvwy75n4rqzh6sxyp2jmjqc7939s0xmrhxw7zhdy6iacggvnpp";
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 ];
};
}