commit ea54f5220751b682883bdbdfc25ec963e237c90d
parent 79fc64cb1ae507669af9fbf19f1b816d08e70914
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sun, 21 May 2023 10:41:09 +0400
Move stargazer to nixpkgs
Diffstat:
2 files changed, 0 insertions(+), 42 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -175,9 +175,6 @@ lib.makeScope newScope (
shavit = callPackage ./gemini/shavit { };
stagit-gemini-milotier = callPackage ./gemini/stagit-gemini/milotier.nix { };
stagit-gemini-sloum = callPackage ./gemini/stagit-gemini/sloum.nix { };
- stargazer = callPackage ./gemini/stargazer {
- inherit (darwin.apple_sdk.frameworks) Security;
- };
tom = callPackage ./gemini/tom { };
### GEOSPATIAL
diff --git a/pkgs/gemini/stargazer/default.nix b/pkgs/gemini/stargazer/default.nix
@@ -1,39 +0,0 @@
-{ lib, stdenv, rustPlatform, fetchFromSourcehut, Security, 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=";
-
- nativeBuildInputs = [ scdoc ];
-
- buildInputs = lib.optional stdenv.isDarwin Security;
-
- postBuild = ''
- scdoc < doc/stargazer.scd > stargazer.1
- scdoc < doc/stargazer-ini.scd > stargazer.ini.5
- '';
-
- postInstall = ''
- sh scripts/install \
- --prefix=$out \
- --bashdir=$out/share/bash-completion/completions \
- --zshdir=$out/share/zsh/site-functions \
- --fishdir=$out/share/fish/vendor_completions.d
- '';
-
- meta = with lib; {
- description = "stargazer is a concurrent Gemini server using async io with no runtime dependencies";
- inherit (src.meta) homepage;
- license = licenses.agpl3Plus;
- maintainers = [ maintainers.sikmir ];
- };
-}