Skip to content

Commit b7051fe

Browse files
authored
mago: 0.0.9 -> 0.0.18 (#370540)
2 parents 806d150 + cd76d92 commit b7051fe

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

pkgs/by-name/ma/mago/package.nix

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,33 @@
22
lib,
33
rustPlatform,
44
fetchFromGitHub,
5+
pkg-config,
6+
openssl,
57
testers,
68
mago,
79
}:
810

911
rustPlatform.buildRustPackage rec {
1012
pname = "mago";
11-
version = "0.0.9";
13+
version = "0.0.18";
1214

1315
src = fetchFromGitHub {
1416
owner = "carthage-software";
1517
repo = "mago";
1618
tag = version;
17-
hash = "sha256-MeI2pya0K1W7tbEJU8VrT6b0wYlr9Q7MTi27+wHfJjg=";
19+
hash = "sha256-QSb+5wlv8uFT2wTeJyfsz+vE4Kegqgi7Dqyl1KZU//U=";
1820
};
1921

20-
cargoHash = "sha256-LcY04XkTQHpixPPPs86OVO1ehPrcdynKmScgfWEU24Q=";
22+
cargoHash = "sha256-7ElDEhWZLFuqzZjeh7TdrLy1++bmdS7CLRwyOLzaJ18=";
23+
24+
env = {
25+
# Get openssl-sys to use pkg-config
26+
OPENSSL_NO_VENDOR = 1;
27+
};
28+
29+
nativeBuildInputs = [ pkg-config ];
30+
31+
buildInputs = [ openssl ];
2132

2233
passthru = {
2334
tests.version = testers.testVersion {

0 commit comments

Comments
 (0)