generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jaq.nix
31 lines (26 loc) · 742 Bytes
/
jaq.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
nix-build -E 'with import <nixpkgs> {}; callPackage ./jaq.nix {}'
*/
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "jaq";
version = "unstable-2022-06-27";
src = fetchFromGitHub {
owner = "01mf02";
repo = pname;
rev = "50184ac76db411c5cba55a275b31e5f889c82005";
sha256 = "sha256-qXG89SSE9/pB27nIqxy+C5LdQY4Q+gA0PiLMEH8Woyw=";
};
cargoSha256 = "sha256-UbB1D+nkPfZifTUR5ooxvKpjUdC+uGUdXcpoOFpaMoc=";
meta = with lib; {
description = "A jq clone focussed on correctness, speed, and simplicity";
homepage = "https://github.com/01mf02/jaq";
license = licenses.mit;
maintainers = with maintainers; [ milahu ];
platforms = platforms.all;
};
}