Merge pull request #167035 from nagy/hut-010

This commit is contained in:
Sandro 2022-04-05 14:10:38 +02:00 committed by GitHub
commit b28f082e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";