File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 2
2
lib ,
3
3
rustPlatform ,
4
4
fetchFromGitHub ,
5
+ pkg-config ,
6
+ openssl ,
5
7
testers ,
6
8
mago ,
7
9
} :
8
10
9
11
rustPlatform . buildRustPackage rec {
10
12
pname = "mago" ;
11
- version = "0.0.9 " ;
13
+ version = "0.0.18 " ;
12
14
13
15
src = fetchFromGitHub {
14
16
owner = "carthage-software" ;
15
17
repo = "mago" ;
16
18
tag = version ;
17
- hash = "sha256-MeI2pya0K1W7tbEJU8VrT6b0wYlr9Q7MTi27+wHfJjg =" ;
19
+ hash = "sha256-QSb+5wlv8uFT2wTeJyfsz+vE4Kegqgi7Dqyl1KZU//U =" ;
18
20
} ;
19
21
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 ] ;
21
32
22
33
passthru = {
23
34
tests . version = testers . testVersion {
You can’t perform that action at this time.
0 commit comments