3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/yq/default.nix
R. RyanTM d707021f23 yq: 2.5.0 -> 2.6.0 (#41926)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/yq/versions.

These checks were done:

- built on NixOS
- /nix/store/11iw84skak8ag78s93klhmn4mhz1v3qh-yq-2.6.0/bin/.xq-wrapped passed the binary check.
- /nix/store/11iw84skak8ag78s93klhmn4mhz1v3qh-yq-2.6.0/bin/xq passed the binary check.
- /nix/store/11iw84skak8ag78s93klhmn4mhz1v3qh-yq-2.6.0/bin/.yq-wrapped passed the binary check.
- /nix/store/11iw84skak8ag78s93klhmn4mhz1v3qh-yq-2.6.0/bin/yq passed the binary check.
- 4 of 4 passed binary check by having a zero exit code.
- 4 of 4 passed binary check by having the new version present in output.
- found 2.6.0 with grep in /nix/store/11iw84skak8ag78s93klhmn4mhz1v3qh-yq-2.6.0
- directory tree listing: https://gist.github.com/d6c1ce31dff71d43e23d27c6d98e1925
- du listing: https://gist.github.com/a08a8e4ca7caa376a53ad39da72ba921
2018-06-13 18:05:40 +02:00

24 lines
621 B
Nix

{ stdenv, lib, buildPythonApplication, fetchPypi, pyyaml, xmltodict, jq }:
buildPythonApplication rec {
pname = "yq";
version = "2.6.0";
propagatedBuildInputs = [ pyyaml xmltodict jq ];
# ValueError: underlying buffer has been detached
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "0wyzg6lwxmzqsblljg9hddkadda7qdpw54sp0pmmbv89hhz7cky6";
};
meta = with lib; {
description = "Command-line YAML processor - jq wrapper for YAML documents.";
homepage = https://github.com/kislyuk/yq;
license = [ licenses.asl20 ];
maintainers = [ maintainers.womfoo ];
};
}