jnv: init at 0.1.2

Co-authored-by: nshalman <nahamu@gmail.com>
This commit is contained in:
Neal Fennimore 2024-03-20 11:50:26 -04:00
parent 51a0f7adc1
commit 623abc9470
No known key found for this signature in database

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 ];
};
}