Merge pull request #166256 from siraben/polkadot-darwin

This commit is contained in:
Ben Siraphob 2022-03-29 11:08:29 -05:00 committed by GitHub
commit 00e92497c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -5,6 +5,7 @@
, protobuf , protobuf
, rustPlatform , rustPlatform
, writeShellScriptBin , writeShellScriptBin
, Security
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "polkadot"; pname = "polkadot";
@ -32,6 +33,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-Gc5WbayQUlsl7Fk8NyLPh2Zg2yrLl3WJqKorNZMLi94="; cargoSha256 = "sha256-Gc5WbayQUlsl7Fk8NyLPh2Zg2yrLl3WJqKorNZMLi94=";
buildInputs = [ Security ];
nativeBuildInputs = [ clang ]; nativeBuildInputs = [ clang ];
preBuild = '' preBuild = ''
@ -56,6 +59,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://polkadot.network"; homepage = "https://polkadot.network";
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = with maintainers; [ akru andresilva asymmetric FlorianFranzen RaghavSood ]; maintainers = with maintainers; [ akru andresilva asymmetric FlorianFranzen RaghavSood ];
platforms = platforms.linux; platforms = platforms.unix;
}; };
} }

View File

@ -30843,7 +30843,9 @@ with pkgs;
openethereum = callPackage ../applications/blockchains/openethereum { }; openethereum = callPackage ../applications/blockchains/openethereum { };
polkadot = callPackage ../applications/blockchains/polkadot { }; polkadot = callPackage ../applications/blockchains/polkadot {
inherit (darwin.apple_sdk.frameworks) Security;
};
particl-core = callPackage ../applications/blockchains/particl-core { miniupnpc = miniupnpc_2; }; particl-core = callPackage ../applications/blockchains/particl-core { miniupnpc = miniupnpc_2; };