forked from mirrors/nixpkgs
yq: init at 2.3.3
This commit is contained in:
parent
6499c311d5
commit
131f48d0b1
26
pkgs/development/tools/yq/default.nix
Normal file
26
pkgs/development/tools/yq/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ stdenv, lib, buildPythonApplication, fetchPypi, pyyaml, jq }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
|
||||
name = "${pname}-${version}";
|
||||
pname = "yq";
|
||||
version = "2.3.3";
|
||||
|
||||
propagatedBuildInputs = [ pyyaml jq ];
|
||||
|
||||
# ValueError: underlying buffer has been detached
|
||||
doCheck = false;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14ywdi464z68qclsqzb8r50rzmypknaz74zmpppkahjigfcfppm3";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line YAML processor - jq wrapper for YAML documents.";
|
||||
homepage = https://pypi.python.org/pypi/yq;
|
||||
license = [ licenses.asl20 ];
|
||||
maintainers = [ maintainers.womfoo ];
|
||||
};
|
||||
|
||||
}
|
|
@ -7779,6 +7779,10 @@ with pkgs;
|
|||
|
||||
yodl = callPackage ../development/tools/misc/yodl { };
|
||||
|
||||
yq = callPackage ../development/tools/yq {
|
||||
inherit (python3Packages) buildPythonApplication fetchPypi pyyaml;
|
||||
};
|
||||
|
||||
winpdb = callPackage ../development/tools/winpdb { };
|
||||
|
||||
grabserial = callPackage ../development/tools/grabserial { };
|
||||
|
|
Loading…
Reference in a new issue