Unverified Commit 002f8266 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #297476 from nealfennimore/jnv

jnv: init at 0.1.2
parents 9b1635f1 623abc94
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+35 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}