mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Merge remote-tracking branch 'yihuang/openethereum-unix' into openethereum-updates
This commit is contained in:
commit
33de047fb3
@ -5,7 +5,9 @@
|
|||||||
, llvmPackages
|
, llvmPackages
|
||||||
, openssl
|
, openssl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, stdenv
|
||||||
, systemd
|
, systemd
|
||||||
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -29,7 +31,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ openssl systemd ];
|
buildInputs = [ openssl ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isLinux [ systemd ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ];
|
||||||
|
|
||||||
cargoBuildFlags = [ "--features final" ];
|
cargoBuildFlags = [ "--features final" ];
|
||||||
|
|
||||||
@ -41,6 +45,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
homepage = "http://parity.io/ethereum";
|
homepage = "http://parity.io/ethereum";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ akru xrelkd ];
|
maintainers = with maintainers; [ akru xrelkd ];
|
||||||
platforms = platforms.linux;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user