File tree Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Original file line number Diff line number Diff line change 11{
2+ lib ,
23 fetchFromGitHub ,
34 openssl ,
45 pkg-config ,
56 rustPlatform ,
7+ rust-jemalloc-sys ,
8+ stdenv ,
9+ darwin ,
610} :
711rustPlatform . buildRustPackage rec {
812 pname = "blutgang" ;
9- version = "0.3.1 " ;
13+ version = "0.3.6 " ;
1014
1115 src = fetchFromGitHub {
1216 owner = "rainshowerLabs" ;
1317 repo = pname ;
1418 rev = "Blutgang-${ version } " ;
15- hash = "sha256-prJq1enn2bJdJieVjvq1vd7dCNBlg5ppymIwjU4pgzg =" ;
19+ hash = "sha256-EAmmCvESMneYuoTEa8Qm5eYqJkkRDY8CqlfsER1Pq8s =" ;
1620 } ;
1721
22+ cargoHash = "sha256-1G80j/lZrAlrgOLgpKyGYP9x6g/9kxXf3wmY2OcynFc=" ;
23+
1824 nativeBuildInputs = [
1925 pkg-config
2026 ] ;
2127
22- buildInputs = [
23- openssl
24- ] ;
25-
26- cargoHash = "sha256-bAHUcfRtefGsRgFMBY5JJ4QSstB8wApcdqz/pqSVpuk=" ;
28+ buildInputs =
29+ [ openssl rust-jemalloc-sys ]
30+ ++ lib . optionals stdenv . isDarwin [
31+ darwin . apple_sdk . frameworks . Security
32+ darwin . apple_sdk . frameworks . SystemConfiguration
33+ ] ;
2734
2835 meta = {
29- description = "the wd40 of ethereum load balancers" ;
36+ description = "The wd40 of ethereum load balancers" ;
3037 homepage = "https://github.com/rainshowerLabs/blutgang" ;
38+ # Functional Source License, Version 1.0, Apache 2.0 Change License
39+ # https://github.com/rainshowerLabs/blutgang/blob/Blutgang-0.3.6/LICENSE
40+ license = lib . licenses . unfree ;
3141 mainProgram = "blutgang" ;
32- platforms = [ "x86_64-linux" ] ;
42+ platforms = [ "x86_64-linux" "aarch64-darwin" ] ;
3343 } ;
3444}
You can’t perform that action at this time.
0 commit comments