nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

yq: 2.8.1 -> 2.9.2 (#73424)

Co-authored-by: Drew Risinger <drewrisinger@users.noreply.github.com>
Co-authored-by: Drew <drewrisinger@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>

authored by

Daniel Schaefer
Drew Risinger
Jörg Thalheim
and committed by
GitHub
d4e53041 88e47033

+29 -7
+27 -6
pkgs/development/tools/yq/default.nix
··· 1 - { lib, buildPythonApplication, fetchPypi, pyyaml, xmltodict, jq }: 1 + { lib 2 + , buildPythonApplication 3 + , fetchPypi 4 + , argcomplete 5 + , pyyaml 6 + , xmltodict 7 + # Test inputs 8 + , coverage 9 + , flake8 10 + , jq 11 + , pytest 12 + , toml 13 + }: 2 14 3 15 buildPythonApplication rec { 4 16 pname = "yq"; 5 - version = "2.8.1"; 17 + version = "2.10.1"; 6 18 7 - propagatedBuildInputs = [ pyyaml xmltodict jq ]; 19 + propagatedBuildInputs = [ pyyaml xmltodict jq argcomplete ]; 8 20 9 - # ValueError: underlying buffer has been detached 10 - doCheck = false; 21 + doCheck = true; 22 + 23 + checkInputs = [ 24 + pytest 25 + coverage 26 + flake8 27 + jq 28 + toml 29 + ]; 30 + 31 + checkPhase = "pytest ./test/test.py"; 11 32 12 33 src = fetchPypi { 13 34 inherit pname version; 14 - sha256 = "042p3s011635rbjax9wvwjdrb1kyzw38a6qn59b0j0k7krz6rlr4"; 35 + sha256 = "1h6nnkp53mm4spwy8nyxwvh9j6p4lxvf20j4bgjskhnhaw3jl9gn"; 15 36 }; 16 37 17 38 meta = with lib; {
+2 -1
pkgs/top-level/all-packages.nix
··· 11450 11450 yodl = callPackage ../development/tools/misc/yodl { }; 11451 11451 11452 11452 yq = callPackage ../development/tools/yq { 11453 - inherit (python3Packages) buildPythonApplication fetchPypi pyyaml xmltodict; 11453 + inherit (python3Packages) 11454 + buildPythonApplication fetchPypi argcomplete pyyaml xmltodict pytest coverage flake8 toml; 11454 11455 }; 11455 11456 11456 11457 yq-go = callPackage ../development/tools/yq-go { };