mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
gbl: darwin support
Co-authored-by: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
parent
c777cdf5c5
commit
b7c8400546
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
@ -6,6 +7,7 @@
|
|||||||
, openssl
|
, openssl
|
||||||
, testers
|
, testers
|
||||||
, gbl
|
, gbl
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -31,7 +33,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
cargoSha256 = "sha256-RUZ6wswRtV8chq3+bY9LTRf6IYMbZ9/GPl2X5UcF7d8=";
|
cargoSha256 = "sha256-RUZ6wswRtV8chq3+bY9LTRf6IYMbZ9/GPl2X5UcF7d8=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
passthru.tests.version =
|
passthru.tests.version =
|
||||||
testers.testVersion { package = gbl; };
|
testers.testVersion { package = gbl; };
|
||||||
|
@ -2198,7 +2198,9 @@ with pkgs;
|
|||||||
|
|
||||||
fxlinuxprintutil = callPackage ../tools/misc/fxlinuxprintutil { };
|
fxlinuxprintutil = callPackage ../tools/misc/fxlinuxprintutil { };
|
||||||
|
|
||||||
gbl = callPackage ../tools/archivers/gbl { };
|
gbl = callPackage ../tools/archivers/gbl {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
genann = callPackage ../development/libraries/genann { };
|
genann = callPackage ../development/libraries/genann { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user