3
0
Fork 0
forked from mirrors/nixpkgs

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>
This commit is contained in:
Daniel Schaefer 2020-08-15 09:27:07 +02:00 committed by GitHub
parent 88e47033fa
commit d4e530412d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 7 deletions

View file

@ -1,17 +1,38 @@
{ lib, buildPythonApplication, fetchPypi, pyyaml, xmltodict, jq }:
{ lib
, buildPythonApplication
, fetchPypi
, argcomplete
, pyyaml
, xmltodict
# Test inputs
, coverage
, flake8
, jq
, pytest
, toml
}:
buildPythonApplication rec {
pname = "yq";
version = "2.8.1";
version = "2.10.1";
propagatedBuildInputs = [ pyyaml xmltodict jq ];
propagatedBuildInputs = [ pyyaml xmltodict jq argcomplete ];
# ValueError: underlying buffer has been detached
doCheck = false;
doCheck = true;
checkInputs = [
pytest
coverage
flake8
jq
toml
];
checkPhase = "pytest ./test/test.py";
src = fetchPypi {
inherit pname version;
sha256 = "042p3s011635rbjax9wvwjdrb1kyzw38a6qn59b0j0k7krz6rlr4";
sha256 = "1h6nnkp53mm4spwy8nyxwvh9j6p4lxvf20j4bgjskhnhaw3jl9gn";
};
meta = with lib; {

View file

@ -11450,7 +11450,8 @@ in
yodl = callPackage ../development/tools/misc/yodl { };
yq = callPackage ../development/tools/yq {
inherit (python3Packages) buildPythonApplication fetchPypi pyyaml xmltodict;
inherit (python3Packages)
buildPythonApplication fetchPypi argcomplete pyyaml xmltodict pytest coverage flake8 toml;
};
yq-go = callPackage ../development/tools/yq-go { };