Loading pkgs/by-name/jn/jnv/package.nix +14 −15 Original line number Diff line number Diff line Loading @@ -2,39 +2,38 @@ lib, rustPlatform, fetchFromGitHub, stdenv, darwin, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "jnv"; version = "0.6.0"; src = fetchFromGitHub { owner = "ynqa"; repo = "jnv"; rev = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-HKZ+hF5Y7vTA4EODSAd9xYJHaipv5YukTl470ejPLtM="; }; useFetchCargoVendor = true; cargoHash = "sha256-VLVoURqmUhhekNZ0a75bwjvSiLfaQ79IlltbmWVyBrI="; buildInputs = lib.optional stdenv.hostPlatform.isDarwin ( with darwin.apple_sdk.frameworks; [ CoreGraphics AppKit ] ); nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; doInstallCheck = true; passthru.updateScript = nix-update-script { }; meta = with lib; { meta = { description = "Interactive JSON filter using jq"; mainProgram = "jnv"; homepage = "https://github.com/ynqa/jnv"; license = with licenses; [ mit ]; maintainers = with maintainers; [ license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ nealfennimore nshalman ]; }; } }) Loading
pkgs/by-name/jn/jnv/package.nix +14 −15 Original line number Diff line number Diff line Loading @@ -2,39 +2,38 @@ lib, rustPlatform, fetchFromGitHub, stdenv, darwin, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "jnv"; version = "0.6.0"; src = fetchFromGitHub { owner = "ynqa"; repo = "jnv"; rev = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-HKZ+hF5Y7vTA4EODSAd9xYJHaipv5YukTl470ejPLtM="; }; useFetchCargoVendor = true; cargoHash = "sha256-VLVoURqmUhhekNZ0a75bwjvSiLfaQ79IlltbmWVyBrI="; buildInputs = lib.optional stdenv.hostPlatform.isDarwin ( with darwin.apple_sdk.frameworks; [ CoreGraphics AppKit ] ); nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; doInstallCheck = true; passthru.updateScript = nix-update-script { }; meta = with lib; { meta = { description = "Interactive JSON filter using jq"; mainProgram = "jnv"; homepage = "https://github.com/ynqa/jnv"; license = with licenses; [ mit ]; maintainers = with maintainers; [ license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ nealfennimore nshalman ]; }; } })