nixpkgs/pkgs/by-name/jn/jnv/package.nix
Neal Fennimore 623abc9470
jnv: init at 0.1.2
Co-authored-by: nshalman <nahamu@gmail.com>
2024-03-21 14:14:06 -04:00

36 lines
732 B
Nix

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