git-town: 17.1.1 -> 18.0.0 (#384122)

This commit is contained in:
Nick Cao
2025-02-23 09:57:14 -05:00
committed by GitHub
+12 -9
View File
@@ -7,17 +7,18 @@
testers,
git-town,
makeWrapper,
writableTmpDirAsHomeHook,
}:
buildGoModule rec {
pname = "git-town";
version = "17.1.1";
version = "18.0.0";
src = fetchFromGitHub {
owner = "git-town";
repo = "git-town";
rev = "v${version}";
hash = "sha256-q9k9x3e20oPjladE1tUSqSVQ8kKbmSu9kbU13lJsVU8=";
tag = "v${version}";
hash = "sha256-vn0Cq53gqe0HGrtYMUHCFsE13CpaBJqC4LxrkJSel1Y=";
};
vendorHash = null;
@@ -40,11 +41,12 @@ buildGoModule rec {
"-X ${modulePath}/src/cmd.buildDate=nix"
];
nativeCheckInputs = [ git ];
nativeCheckInputs = [
git
writableTmpDirAsHomeHook
];
preCheck = ''
HOME=$(mktemp -d)
# this runs tests requiring local operations
rm main_test.go
'';
@@ -55,6 +57,7 @@ buildGoModule rec {
skippedTests = [
"TestGodog"
"TestMockingRunner/MockCommand"
"TestMockingRunner/MockCommitMessage"
"TestMockingRunner/QueryWith"
"TestTestCommands/CreateChildFeatureBranch"
];
@@ -76,11 +79,11 @@ buildGoModule rec {
inherit version;
};
meta = with lib; {
meta = {
description = "Generic, high-level git support for git-flow workflows";
homepage = "https://www.git-town.com/";
license = licenses.mit;
maintainers = with maintainers; [
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
allonsy
gabyx
];