Merge pull request #297476 from nealfennimore/jnv

jnv: init at 0.1.2
This commit is contained in:
Weijia Wang 2024-03-21 20:08:36 +01:00 committed by GitHub
commit 002f8266a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 41 additions and 0 deletions

View File

@ -13729,6 +13729,12 @@
githubId = 77314501;
name = "Maurice Zhou";
};
nealfennimore = {
email = "hi@neal.codes";
github = "nealfennimore";
githubId = 5731551;
name = "Neal Fennimore";
};
Nebucatnetzer = {
email = "andreas+nixpkgs@zweili.ch";
github = "Nebucatnetzer";

View File

@ -0,0 +1,35 @@
{ lib
, rustPlatform
, fetchFromGitHub
, autoconf
, automake
, libtool
}:
rustPlatform.buildRustPackage rec {
pname = "jnv";
version = "0.1.2";
src = fetchFromGitHub {
owner = "ynqa";
repo = "jnv";
rev = "v${version}";
hash = "sha256-22aoK1s8DhKttGGR9ouNDIWhYCv6dghT/jfAC0VX8Sw=";
};
cargoHash = "sha256-CmupwWwopXpnPm8R17JVfAoGt4QEos5I+3qumDKEyM8=";
nativeBuildInputs = [
autoconf
automake
libtool
rustPlatform.bindgenHook
];
meta = with lib; {
description = "Interactive JSON filter using jq";
mainProgram = "jnv";
homepage = "https://github.com/ynqa/jnv";
license = with licenses; [ mit ];
maintainers = with maintainers; [ nealfennimore nshalman ];
};
}