undocker: fix upstream URLs (#536629)

This commit is contained in:
Austin Horstman
2026-06-30 18:24:04 +00:00
committed by GitHub
+5 -8
View File
@@ -1,18 +1,15 @@
{
lib,
buildGoModule,
fetchFromGitea,
fetchgit,
gnumake,
}:
let
version = "1.2.3";
hash = "sha256-hyP85pYtXxucAliilUt9Y2qnrfPeSjeGsYEFJndJWyA=";
src = fetchFromGitea {
domain = "git.jakstys.lt";
owner = "motiejus";
repo = "undocker";
src = fetchgit {
url = "https://git.jakstys.lt/motiejus/undocker.git";
rev = "v${version}";
hash = hash;
hash = "sha256-hyP85pYtXxucAliilUt9Y2qnrfPeSjeGsYEFJndJWyA=";
};
in
buildGoModule {
@@ -21,7 +18,7 @@ buildGoModule {
nativeBuildInputs = [ gnumake ];
buildPhase = "make VSN=v${version} VSNHASH=${hash} undocker";
buildPhase = "make VSN=v${version} VSNHASH=${src.rev} undocker";
installPhase = "install -D undocker $out/bin/undocker";