From 52162c69e574c6b1cefe7cba99bc1a02d5ba8bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 20 Mar 2023 15:21:12 +0100 Subject: [PATCH] git-open: 2.1.0 -> 3.0.0, drop inactive maintainer, remove git from the wrapper git-open is supposed to be used as a git subcommand like `git open` which requires git to function. This makes using overrides easier and reduces useless rebuilds. --- .../version-management/git-open/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/version-management/git-open/default.nix b/pkgs/applications/version-management/git-open/default.nix index 2c57ca1f8401..42e23dcd32e3 100644 --- a/pkgs/applications/version-management/git-open/default.nix +++ b/pkgs/applications/version-management/git-open/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "git-open"; - version = "2.1.0"; + version = "3.0.0"; src = fetchFromGitHub { owner = "paulirish"; repo = "git-open"; rev = "v${version}"; - sha256 = "11n46bngvca5wbdbfcxzjhjbfdbad7sgf7h9gf956cb1q8swsdm0"; + sha256 = "sha256-Bag2rI2uR7ilkg2ozjR8tPXqKz5XjiY7WAUJKTVTXd8="; }; nativeBuildInputs = [ installShellFiles makeWrapper pandoc ]; @@ -23,10 +23,10 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p $out/bin - cp git-open $out/bin + mv git-open $out/bin installManPage git-open.1 wrapProgram $out/bin/git-open \ - --prefix PATH : "${lib.makeBinPath [ git gnugrep ]}" \ + --prefix PATH : "${lib.makeBinPath [ gnugrep ]}" \ --suffix PATH : "${lib.makeBinPath [ xdg-utils ]}" ''; @@ -35,6 +35,6 @@ stdenv.mkDerivation rec { description = "Open the GitHub page or website for a repository in your browser"; license = licenses.mit; platforms = platforms.all; - maintainers = with maintainers; [ jlesquembre SuperSandro2000 ]; + maintainers = with maintainers; [ SuperSandro2000 ]; }; }