dura: fix build on darwin
This commit is contained in:
parent
a69cbfae58
commit
d528856482
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config }:
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, openssl, pkg-config, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "dura";
|
||||
@ -21,6 +21,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
Security
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -38,7 +40,6 @@ rustPlatform.buildRustPackage rec {
|
||||
'';
|
||||
homepage = "https://github.com/tkellogg/dura";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ drupol ];
|
||||
};
|
||||
}
|
||||
|
@ -16121,7 +16121,9 @@ with pkgs;
|
||||
|
||||
drush = callPackage ../development/tools/misc/drush { };
|
||||
|
||||
dura = callPackage ../development/tools/misc/dura { };
|
||||
dura = callPackage ../development/tools/misc/dura {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
dwfv = callPackage ../applications/science/electronics/dwfv { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user