3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/yq/default.nix
2018-02-26 19:03:30 +01:00

26 lines
616 B
Nix

{ stdenv, lib, buildPythonApplication, fetchPypi, pyyaml, jq }:
buildPythonApplication rec {
pname = "yq";
version = "2.4.1";
propagatedBuildInputs = [ pyyaml jq ];
# ValueError: underlying buffer has been detached
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "4833d4055b0f1c1f1a2fd292421b3472da39c7dc2727d7819efd11065a5fd310";
};
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 ];
};
}