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
, rustPlatform
, writeShellScriptBin
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "polkadot";
@ -32,6 +33,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-Gc5WbayQUlsl7Fk8NyLPh2Zg2yrLl3WJqKorNZMLi94=";
buildInputs = [ Security ];
nativeBuildInputs = [ clang ];
preBuild = ''
@ -56,6 +59,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://polkadot.network";
license = licenses.gpl3Only;
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 { };
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; };