nixpkgs/pkgs/development/tools/yq/default.nix
Kranium Gikos Mendoza 131f48d0b1 yq: init at 2.3.3
2017-11-29 21:15:15 +11:00

27 lines
636 B
Nix

{ 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 ];
};
}