diff --git a/pkgs/applications/version-management/git-and-tools/hut/default.nix b/pkgs/applications/version-management/git-and-tools/hut/default.nix index ad0c02aa2e0d..49e5fa675a94 100644 --- a/pkgs/applications/version-management/git-and-tools/hut/default.nix +++ b/pkgs/applications/version-management/git-and-tools/hut/default.nix @@ -2,21 +2,20 @@ , buildGoModule , fetchFromSourcehut , scdoc -, unstableGitUpdater }: -buildGoModule { +buildGoModule rec { pname = "hut"; - version = "unstable-2022-03-02"; + version = "0.1.0"; src = fetchFromSourcehut { owner = "~emersion"; repo = "hut"; - rev = "55ad2fbd9ceeeb9e7dc203c15476fa785f1209e0"; - sha256 = "sha256-j2IVwCm7iq3JKccPL8noRBhqw+V+4qfcpAwV65xhZk0="; + rev = "v${version}"; + sha256 = "sha256-2YUrDPulpLQQGw31nEasHoQ/AppECg7acwwqu6JDT5U="; }; - vendorSha256 = "sha256-zdQvk0M1a+Y90pnhqIpKxLJnlVJqMoSycewTep2Oux4="; + vendorSha256 = "sha256-EmokL3JlyM6C5/NOarCAJuqNsDO2tgHwqQdv0rAk+Xk="; nativeBuildInputs = [ scdoc @@ -32,8 +31,6 @@ buildGoModule { make $makeFlags install ''; - passthru.updateScript = unstableGitUpdater { }; - meta = with lib; { homepage = "https://sr.ht/~emersion/hut/"; description = "A CLI tool for Sourcehut / sr.ht";