Skip to content

Commit e05b9bc

Browse files
authored
blutgang: init at 0.3.0-canary2 (#471)
* packages: add blutgang * blutgang: address review
1 parent 93517b6 commit e05b9bc

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

pkgs/blutgang/default.nix

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
fetchFromGitHub,
3+
openssl,
4+
pkg-config,
5+
rustPlatform,
6+
}:
7+
rustPlatform.buildRustPackage rec {
8+
pname = "blutgang";
9+
version = "0.3.0-canary2";
10+
11+
src = fetchFromGitHub {
12+
owner = "rainshowerLabs";
13+
repo = pname;
14+
rev = version;
15+
hash = "sha256-xjDieJgN7BzyCzeKMd3X7dwl/hOnqFPGCtZzlAbVGdI=";
16+
};
17+
18+
nativeBuildInputs = [
19+
pkg-config
20+
];
21+
22+
buildInputs = [
23+
openssl
24+
];
25+
26+
cargoHash = "sha256-pSdNGmwBCejQbjtfi7YhQmfpoMs9Gxf+6qusD8YSiFc=";
27+
28+
meta = {
29+
description = "the wd40 of ethereum load balancers";
30+
homepage = "https://github.com/rainshowerLabs/blutgang";
31+
mainProgram = "blutgang";
32+
platforms = ["x86_64-linux"];
33+
};
34+
}

pkgs/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
besu = callPackage ./besu {};
2727
bls = callPackage ./bls {};
2828
blst = callPackage ./blst {};
29+
blutgang = callPackage ./blutgang {};
2930
charon = callPackage ./charon {inherit bls mcl;};
3031
dirk = callPackage ./dirk {inherit bls mcl;};
3132
dreamboat = callPackage ./dreamboat {inherit blst;};
@@ -74,6 +75,7 @@
7475

7576
apps = platformApps self'.packages {
7677
besu.bin = "besu";
78+
blutgang.bin = "blutgang";
7779
charon.bin = "charon";
7880
dirk.bin = "dirk";
7981
dreamboat.bin = "dreamboat";

0 commit comments

Comments
 (0)