mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
routinator: fix darwin build
This commit is contained in:
parent
e79822050c
commit
593629b7a9
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchFromGitHub, rustPlatform }:
|
||||
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "routinator";
|
||||
|
@ -11,6 +11,7 @@ rustPlatform.buildRustPackage rec {
|
|||
sha256 = "sha256-JwPAwhD+Pkx8Kx24m7z/RbEvDnI2YR8dnTgAV7TMsFE=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||
cargoSha256 = "sha256-lhSSyJxxHc0t43xoDMtr/lSVL0xZl6poPYiyYXNvKKQ=";
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -18,6 +19,6 @@ rustPlatform.buildRustPackage rec {
|
|||
homepage = "https://github.com/NLnetLabs/routinator";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ _0x4A6F ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2887,7 +2887,9 @@ in
|
|||
|
||||
roundcubePlugins = dontRecurseIntoAttrs (callPackage ../servers/roundcube/plugins { });
|
||||
|
||||
routinator = callPackage ../servers/routinator { };
|
||||
routinator = callPackage ../servers/routinator {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
rsbep = callPackage ../tools/backup/rsbep { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue