diff --git a/pkgs/development/tools/jqp/default.nix b/pkgs/development/tools/jqp/default.nix new file mode 100644 index 000000000000..7563972d0e17 --- /dev/null +++ b/pkgs/development/tools/jqp/default.nix @@ -0,0 +1,27 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "jqp"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "noahgorstein"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-dVarasXLJrB/akMUvjZn313+bqM39Ji4l91PAxwmfG0="; + }; + + vendorSha256 = "sha256-KlnKWeLbmLH6M5+oD/BYuqkTyrV9Xo7ibrNjukFe7ss="; + + subPackages = [ "." ]; + + meta = with lib; { + description = "A TUI playground to experiment with jq"; + homepage = "https://github.com/noahgorstein/jqp"; + license = licenses.mit; + maintainers = with maintainers; [ dit7ya ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b5855d136611..4987d1e06c0f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8003,6 +8003,8 @@ with pkgs; jql = callPackage ../development/tools/jql { }; + jqp = callPackage ../development/tools/jqp { }; + jo = callPackage ../development/tools/jo { }; jrnl = callPackage ../applications/misc/jrnl { };