mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
stargazer: init at 1.0.5
This commit is contained in:
parent
7e4084777e
commit
726da3a8b5
41
pkgs/servers/gemini/stargazer/default.nix
Normal file
41
pkgs/servers/gemini/stargazer/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromSourcehut
|
||||||
|
, rustPlatform
|
||||||
|
, installShellFiles
|
||||||
|
, scdoc
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "stargazer";
|
||||||
|
version = "1.0.5";
|
||||||
|
|
||||||
|
src = fetchFromSourcehut {
|
||||||
|
owner = "~zethra";
|
||||||
|
repo = "stargazer";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-n88X3RJD7PqOcVRK/bp/gMNLVrbwnJ2iwi2rCpsfp+o=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-Yqh3AQIOahKz2mLeVNm58Yr6vhjU4aQwN62y3Z5/EJc=";
|
||||||
|
|
||||||
|
doCheck = false; # Uses extenal testing framework that requires network
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles scdoc ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
scdoc < doc/stargazer.scd > stargazer.1
|
||||||
|
scdoc < doc/stargazer-ini.scd > stargazer.ini.5
|
||||||
|
installManPage stargazer.1
|
||||||
|
installManPage stargazer.ini.5
|
||||||
|
installShellCompletion completions/stargazer.{bash,zsh,fish}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A fast and easy to use Gemini server";
|
||||||
|
homepage = "https://sr.ht/~zethra/stargazer/";
|
||||||
|
license = licenses.agpl3Plus;
|
||||||
|
changelog = "https://git.sr.ht/~zethra/stargazer/refs/${version}";
|
||||||
|
maintainers = with maintainers; [ gaykitty ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -1639,6 +1639,8 @@ with pkgs;
|
|||||||
|
|
||||||
speedtest-rs = callPackage ../tools/networking/speedtest-rs { };
|
speedtest-rs = callPackage ../tools/networking/speedtest-rs { };
|
||||||
|
|
||||||
|
stargazer = callPackage ../servers/gemini/stargazer { };
|
||||||
|
|
||||||
steamtinkerlaunch = callPackage ../tools/games/steamtinkerlaunch { };
|
steamtinkerlaunch = callPackage ../tools/games/steamtinkerlaunch { };
|
||||||
|
|
||||||
supermin = callPackage ../tools/virtualization/supermin { };
|
supermin = callPackage ../tools/virtualization/supermin { };
|
||||||
|
Loading…
Reference in New Issue
Block a user