forked from mirrors/nixpkgs
stargazer: enable on darwin
This commit is contained in:
parent
868aa79d72
commit
9a18b6c073
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue