3
0
Fork 0
forked from mirrors/nixpkgs

stargazer: enable on darwin

This commit is contained in:
Nikolay Korotkiy 2023-05-21 10:58:16 +04:00
parent 868aa79d72
commit 9a18b6c073
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5
2 changed files with 7 additions and 2 deletions

View file

@ -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;
};
}

View file

@ -1697,7 +1697,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 { };