diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/jaq/default.nix | 24 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/tools/jaq/default.nix b/pkgs/development/tools/jaq/default.nix new file mode 100644 index 0000000000000..9c28cdf73994c --- /dev/null +++ b/pkgs/development/tools/jaq/default.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }: + +rustPlatform.buildRustPackage rec { + pname = "jaq"; + version = "0.8.0"; + + src = fetchFromGitHub { + owner = "01mf02"; + repo = "jaq"; + rev = "v${version}"; + sha256 = "sha256-4WCVXrw/v3cGsl7S1nGqKmWrIHeM/ODCXQBxQJgZLjw="; + }; + + cargoSha256 = "sha256-D+Wpzgj05PJcMlGS9eL43SdncHO/q1Wt00gvPlC7ZAE="; + + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; + + meta = with lib; { + description = "A jq clone focused on correctness, speed and simplicity"; + homepage = "https://github.com/01mf02/jaq"; + license = licenses.mit; + maintainers = with maintainers; [ siraben ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 85cafda6b2823..454f8ec6f0b08 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7866,6 +7866,10 @@ with pkgs; usePulseaudio = true; }; + jaq = callPackage ../development/tools/jaq { + inherit (darwin.apple_sdk.frameworks) Security; + }; + jasmin-compiler = callPackage ../development/compilers/jasmin-compiler { }; jazzy = callPackage ../development/tools/jazzy { }; |