mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 17:44:44 +00:00
Merge pull request #167035 from nagy/hut-010
This commit is contained in:
commit
b28f082e3f
@ -2,21 +2,20 @@
|
|||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromSourcehut
|
, fetchFromSourcehut
|
||||||
, scdoc
|
, scdoc
|
||||||
, unstableGitUpdater
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule {
|
buildGoModule rec {
|
||||||
pname = "hut";
|
pname = "hut";
|
||||||
version = "unstable-2022-03-02";
|
version = "0.1.0";
|
||||||
|
|
||||||
src = fetchFromSourcehut {
|
src = fetchFromSourcehut {
|
||||||
owner = "~emersion";
|
owner = "~emersion";
|
||||||
repo = "hut";
|
repo = "hut";
|
||||||
rev = "55ad2fbd9ceeeb9e7dc203c15476fa785f1209e0";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-j2IVwCm7iq3JKccPL8noRBhqw+V+4qfcpAwV65xhZk0=";
|
sha256 = "sha256-2YUrDPulpLQQGw31nEasHoQ/AppECg7acwwqu6JDT5U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-zdQvk0M1a+Y90pnhqIpKxLJnlVJqMoSycewTep2Oux4=";
|
vendorSha256 = "sha256-EmokL3JlyM6C5/NOarCAJuqNsDO2tgHwqQdv0rAk+Xk=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
scdoc
|
scdoc
|
||||||
@ -32,8 +31,6 @@ buildGoModule {
|
|||||||
make $makeFlags install
|
make $makeFlags install
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = unstableGitUpdater { };
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://sr.ht/~emersion/hut/";
|
homepage = "https://sr.ht/~emersion/hut/";
|
||||||
description = "A CLI tool for Sourcehut / sr.ht";
|
description = "A CLI tool for Sourcehut / sr.ht";
|
||||||
|
Loading…
Reference in New Issue
Block a user