Loading pkgs/by-name/gh/ghgrab/package.nix +5 −7 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ lib, rustPlatform, fetchFromGitHub, stdenv, versionCheckHook, }: # note: upstream has a flake Loading @@ -19,18 +19,16 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-S1wkdPYVvH+4rfCQ/IohrqvHsiVWlb9OW5Dva3jNeis="; # fails on darwin # https://github.com/abhixdd/ghgrab/issues/31 checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "--skip=agent_tree_invalid_url_returns_json_error" ]; doInstallCheck = true; versionCheckProgramArg = "--version"; nativeInstallCheckInputs = [ versionCheckHook ]; meta = { changelog = "https://github.com/abhixdd/ghgrab/releases/tag/v${finalAttrs.version}"; description = "Simple, pretty terminal tool that lets you search and download files from GitHub without leaving your CLI"; homepage = "https://github.com/abhixdd/ghgrab"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ phanirithvij ]; mainProgram = "ghgrab"; maintainers = with lib.maintainers; [ phanirithvij ]; }; }) Loading
pkgs/by-name/gh/ghgrab/package.nix +5 −7 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ lib, rustPlatform, fetchFromGitHub, stdenv, versionCheckHook, }: # note: upstream has a flake Loading @@ -19,18 +19,16 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-S1wkdPYVvH+4rfCQ/IohrqvHsiVWlb9OW5Dva3jNeis="; # fails on darwin # https://github.com/abhixdd/ghgrab/issues/31 checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "--skip=agent_tree_invalid_url_returns_json_error" ]; doInstallCheck = true; versionCheckProgramArg = "--version"; nativeInstallCheckInputs = [ versionCheckHook ]; meta = { changelog = "https://github.com/abhixdd/ghgrab/releases/tag/v${finalAttrs.version}"; description = "Simple, pretty terminal tool that lets you search and download files from GitHub without leaving your CLI"; homepage = "https://github.com/abhixdd/ghgrab"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ phanirithvij ]; mainProgram = "ghgrab"; maintainers = with lib.maintainers; [ phanirithvij ]; }; })