superd: init at 0.7
This commit is contained in:
parent
39ee23f4c3
commit
bab1ba485c
43
pkgs/misc/superd/default.nix
Normal file
43
pkgs/misc/superd/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromSourcehut
|
||||||
|
, installShellFiles
|
||||||
|
, scdoc
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "superd";
|
||||||
|
version = "0.7";
|
||||||
|
|
||||||
|
src = fetchFromSourcehut {
|
||||||
|
owner = "~craftyguy";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-XSB6qgepWhus15lOP9GzbiNoOCSsy6xLij7ic3LFs1E=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-Oa99U3THyWLjH+kWMQAHO5QAS2mmtY7M7leej+gnEqo=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
installShellFiles
|
||||||
|
scdoc
|
||||||
|
];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
make doc
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage superd.1 superd.service.5 superctl.1
|
||||||
|
installShellCompletion --bash completions/bash/superctl
|
||||||
|
installShellCompletion --zsh completions/zsh/superctl
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Unprivileged user service supervisor";
|
||||||
|
homepage = "https://sr.ht/~craftyguy/superd/";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ chuangzhu wentam ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -36962,6 +36962,8 @@ with pkgs;
|
||||||
|
|
||||||
stork = callPackage ../applications/misc/stork { };
|
stork = callPackage ../applications/misc/stork { };
|
||||||
|
|
||||||
|
superd = callPackage ../misc/superd { };
|
||||||
|
|
||||||
oclgrind = callPackage ../development/tools/analysis/oclgrind { };
|
oclgrind = callPackage ../development/tools/analysis/oclgrind { };
|
||||||
|
|
||||||
opkg = callPackage ../tools/package-management/opkg { };
|
opkg = callPackage ../tools/package-management/opkg { };
|
||||||
|
|
Loading…
Reference in a new issue