nixpkgs/pkgs/by-name/jn/jnv/package.nix
2024-04-21 13:08:35 +00:00

36 lines
732 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, autoconf
, automake
, libtool
}:
rustPlatform.buildRustPackage rec {
pname = "jnv";
version = "0.2.2";
src = fetchFromGitHub {
owner = "ynqa";
repo = "jnv";
rev = "v${version}";
hash = "sha256-IvpbVcTGGD7cn59SPlcqMuu9YXB3ur3AFaoWDVADoqI=";
};
cargoHash = "sha256-dqWQi0DYl2P1qPzmtYOcarnfu2bfSnLk/SVQq5d+Z8Y=";
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 ];
};
}