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 {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "routinator";
|
pname = "routinator";
|
||||||
|
@ -11,6 +11,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
sha256 = "sha256-JwPAwhD+Pkx8Kx24m7z/RbEvDnI2YR8dnTgAV7TMsFE=";
|
sha256 = "sha256-JwPAwhD+Pkx8Kx24m7z/RbEvDnI2YR8dnTgAV7TMsFE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||||
cargoSha256 = "sha256-lhSSyJxxHc0t43xoDMtr/lSVL0xZl6poPYiyYXNvKKQ=";
|
cargoSha256 = "sha256-lhSSyJxxHc0t43xoDMtr/lSVL0xZl6poPYiyYXNvKKQ=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -18,6 +19,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
homepage = "https://github.com/NLnetLabs/routinator";
|
homepage = "https://github.com/NLnetLabs/routinator";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ _0x4A6F ];
|
maintainers = with maintainers; [ _0x4A6F ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2887,7 +2887,9 @@ in
|
||||||
|
|
||||||
roundcubePlugins = dontRecurseIntoAttrs (callPackage ../servers/roundcube/plugins { });
|
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 { };
|
rsbep = callPackage ../tools/backup/rsbep { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue