From bab0e5da877b86c03f9689b601fd7824522e558b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20N=C3=BCtzi?= Date: Wed, 27 Mar 2024 01:06:39 +0100 Subject: [PATCH] git-town: 9.0.1 -> 13.0.0 --- .../version-management/git-town/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/version-management/git-town/default.nix b/pkgs/applications/version-management/git-town/default.nix index bc5f7f3b08541b0..cfda65cd5e6569f 100644 --- a/pkgs/applications/version-management/git-town/default.nix +++ b/pkgs/applications/version-management/git-town/default.nix @@ -2,21 +2,24 @@ buildGoModule rec { pname = "git-town"; - version = "9.0.1"; + version = "13.0.0"; src = fetchFromGitHub { owner = "git-town"; repo = "git-town"; rev = "v${version}"; - hash = "sha256-JvN7te59uRMC0TOWsBUYNEPLIn4nLlIvXI5gOQfQaCU="; + hash = "sha256-EK8Mx+fXprWsndkqYywlyQoWBVi4HgZAryUOhucQl5g="; }; - vendorHash = null; - + buildInputs = [ git ]; nativeBuildInputs = [ installShellFiles makeWrapper ]; - buildInputs = [ git ]; + vendorHash = null; + excludedPackages = [ + "./tools" + ]; + GOWORK = "off"; ldflags = let modulePath = "github.com/git-town/git-town/v${lib.versions.major version}"; in @@ -32,8 +35,6 @@ buildGoModule rec { let skippedTests = [ "TestGodog" - "TestRunner_CreateChildFeatureBranch" - "TestShellRunner_RunStringWith_Dir" "TestMockingShell_MockCommand" "TestShellRunner_RunStringWith_Input" ]; @@ -63,6 +64,6 @@ buildGoModule rec { description = "Generic, high-level git support for git-flow workflows"; homepage = "https://www.git-town.com/"; license = licenses.mit; - maintainers = with maintainers; [ allonsy blaggacao ]; + maintainers = with maintainers; [ allonsy blaggacao gabyx]; }; }