Merge pull request #233162 from sikmir/stargazer
stargazer: enable on darwin
This commit is contained in:
commit
01ebc653bf
|
@ -1,8 +1,10 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromSourcehut
|
||||
, rustPlatform
|
||||
, installShellFiles
|
||||
, scdoc
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -22,6 +24,8 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
nativeBuildInputs = [ installShellFiles scdoc ];
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
postInstall = ''
|
||||
scdoc < doc/stargazer.scd > stargazer.1
|
||||
scdoc < doc/stargazer-ini.scd > stargazer.ini.5
|
||||
|
@ -36,6 +40,5 @@ rustPlatform.buildRustPackage rec {
|
|||
license = licenses.agpl3Plus;
|
||||
changelog = "https://git.sr.ht/~zethra/stargazer/refs/${version}";
|
||||
maintainers = with maintainers; [ gaykitty ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1699,7 +1699,9 @@ with pkgs;
|
|||
|
||||
speedtest-rs = callPackage ../tools/networking/speedtest-rs { };
|
||||
|
||||
stargazer = callPackage ../servers/gemini/stargazer { };
|
||||
stargazer = callPackage ../servers/gemini/stargazer {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
steamtinkerlaunch = callPackage ../tools/games/steamtinkerlaunch { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue