Merge pull request #297476 from nealfennimore/jnv

jnv: init at 0.1.2

authored by Weijia Wang and committed by GitHub 002f8266 9b1635f1

+41
+6
maintainers/maintainer-list.nix
··· 13729 13729 githubId = 77314501; 13730 13730 name = "Maurice Zhou"; 13731 13731 }; 13732 + nealfennimore = { 13733 + email = "hi@neal.codes"; 13734 + github = "nealfennimore"; 13735 + githubId = 5731551; 13736 + name = "Neal Fennimore"; 13737 + }; 13732 13738 Nebucatnetzer = { 13733 13739 email = "andreas+nixpkgs@zweili.ch"; 13734 13740 github = "Nebucatnetzer";
+35
pkgs/by-name/jn/jnv/package.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , autoconf 5 + , automake 6 + , libtool 7 + }: 8 + rustPlatform.buildRustPackage rec { 9 + pname = "jnv"; 10 + version = "0.1.2"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "ynqa"; 14 + repo = "jnv"; 15 + rev = "v${version}"; 16 + hash = "sha256-22aoK1s8DhKttGGR9ouNDIWhYCv6dghT/jfAC0VX8Sw="; 17 + }; 18 + 19 + cargoHash = "sha256-CmupwWwopXpnPm8R17JVfAoGt4QEos5I+3qumDKEyM8="; 20 + 21 + nativeBuildInputs = [ 22 + autoconf 23 + automake 24 + libtool 25 + rustPlatform.bindgenHook 26 + ]; 27 + 28 + meta = with lib; { 29 + description = "Interactive JSON filter using jq"; 30 + mainProgram = "jnv"; 31 + homepage = "https://github.com/ynqa/jnv"; 32 + license = with licenses; [ mit ]; 33 + maintainers = with maintainers; [ nealfennimore nshalman ]; 34 + }; 35 + }