mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
hut: init at unstable-2022-03-02 (#162663)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
e9c91a137a
commit
f40327ce40
2 changed files with 45 additions and 0 deletions
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromSourcehut
|
||||
, scdoc
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
pname = "hut";
|
||||
version = "unstable-2022-03-02";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~emersion";
|
||||
repo = "hut";
|
||||
rev = "55ad2fbd9ceeeb9e7dc203c15476fa785f1209e0";
|
||||
sha256 = "sha256-j2IVwCm7iq3JKccPL8noRBhqw+V+4qfcpAwV65xhZk0=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-zdQvk0M1a+Y90pnhqIpKxLJnlVJqMoSycewTep2Oux4=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
scdoc
|
||||
];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
postBuild = ''
|
||||
make $makeFlags completions doc/hut.1
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
make $makeFlags install
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://sr.ht/~emersion/hut/";
|
||||
description = "A CLI tool for Sourcehut / sr.ht";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
};
|
||||
}
|
|
@ -6662,6 +6662,8 @@ with pkgs;
|
|||
|
||||
humanfriendly = with python3Packages; toPythonApplication humanfriendly;
|
||||
|
||||
hut = callPackage ../applications/version-management/git-and-tools/hut { };
|
||||
|
||||
hwinfo = callPackage ../tools/system/hwinfo { };
|
||||
|
||||
hybridreverb2 = callPackage ../applications/audio/hybridreverb2 {
|
||||
|
|
Loading…
Reference in a new issue