tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
alfis: 0.6.5 -> 0.6.9
misuzu.tngl.sh
4 years ago
cfc583dd
4d3404ac
+22
-8
2 changed files
expand all
collapse all
unified
split
pkgs
applications
blockchains
alfis
default.nix
top-level
all-packages.nix
+21
-7
pkgs/applications/blockchains/alfis/default.nix
···
1
1
-
{ stdenv, lib, fetchFromGitHub, rustPlatform, pkg-config, withGui ? true
2
2
-
, webkitgtk, Cocoa, WebKit, zenity, makeWrapper }:
1
1
+
{ stdenv
2
2
+
, lib
3
3
+
, rustPlatform
4
4
+
, fetchFromGitHub
5
5
+
, pkg-config
6
6
+
, makeWrapper
7
7
+
, webkitgtk
8
8
+
, zenity
9
9
+
, Cocoa
10
10
+
, Security
11
11
+
, WebKit
12
12
+
, withGui ? true
13
13
+
}:
3
14
4
15
rustPlatform.buildRustPackage rec {
5
16
pname = "alfis";
6
6
-
version = "0.6.5";
17
17
+
version = "0.6.9";
7
18
8
19
src = fetchFromGitHub {
9
20
owner = "Revertron";
10
21
repo = "Alfis";
11
22
rev = "v${version}";
12
12
-
sha256 = "1g95yvkvlj78bqrk3p2xbhrmg1hrlgbyr1a4s7vg45y60zys2c2j";
23
23
+
sha256 = "1nnzy46hp1q9kcxzjx24d60frjhn3x46nksbqvdfcfrfn5pqrabh";
13
24
};
14
25
15
15
-
cargoSha256 = "1n7kb1lyghpkgdgd58pw8ldvfps30rnv5niwx35pkdg74h59hqgj";
26
26
+
cargoSha256 = "02liz8sqnqla77bqxfa8hj93qfj2x482q2bijz66rmazfig3b045";
16
27
17
28
checkFlags = [
18
29
# these want internet access, disable them
···
21
32
];
22
33
23
34
nativeBuildInputs = [ pkg-config makeWrapper ];
24
24
-
buildInputs = lib.optional (withGui && stdenv.isLinux) webkitgtk
35
35
+
buildInputs = lib.optional stdenv.isDarwin Security
36
36
+
++ lib.optional (withGui && stdenv.isLinux) webkitgtk
25
37
++ lib.optionals (withGui && stdenv.isDarwin) [ Cocoa WebKit ];
26
38
27
39
buildNoDefaultFeatures = true;
28
28
-
buildFeatures = lib.optional withGui "webgui";
40
40
+
buildFeatures = [
41
41
+
"doh"
42
42
+
] ++ lib.optional withGui "webgui";
29
43
30
44
postInstall = lib.optionalString (withGui && stdenv.isLinux) ''
31
45
wrapProgram $out/bin/alfis \
+1
-1
pkgs/top-level/all-packages.nix
···
29569
29569
aeon = callPackage ../applications/blockchains/aeon { };
29570
29570
29571
29571
alfis = callPackage ../applications/blockchains/alfis {
29572
29572
-
inherit (darwin.apple_sdk.frameworks) Cocoa WebKit;
29572
29572
+
inherit (darwin.apple_sdk.frameworks) Cocoa Security WebKit;
29573
29573
inherit (gnome) zenity;
29574
29574
};
29575
29575
alfis-nogui = alfis.override {