tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
abduco: fix version, use hash and configureFlags
philiptaron.tngl.sh
4 months ago
11639283
fc6467f9
+8
-6
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ab
abduco
package.nix
+8
-6
pkgs/by-name/ab/abduco/package.nix
···
9
10
let
11
rev = "8c32909a159aaa9484c82b71f05b7a73321eb491";
0
12
in
13
stdenv.mkDerivation {
14
pname = "abduco";
15
-
version = "unstable-2020-04-30";
16
17
src = fetchzip {
18
urls = [
···
22
hash = "sha256-o7SPK/G31cW/rrLwV3UJOTq6EBHl6AEE/GdeKGlHdyg=";
23
};
24
25
-
preBuild = lib.optionalString (conf != null) "cp ${writeText "config.def.h" conf} config.def.h";
0
0
26
27
installFlags = [ "install-completion" ];
28
-
CFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE";
29
30
patches = [
31
# https://github.com/martanne/abduco/pull/22
32
(fetchpatch {
33
name = "use-XDG-directory-scheme-by-default";
34
url = "https://github.com/martanne/abduco/commit/0e9a00312ac9777edcb169122144762e3611287b.patch";
35
-
sha256 = "sha256-4NkIflbRkUpS5XTM/fxBaELpvlZ4S5lecRa8jk0XC9g=";
36
})
37
38
# “fix bug where attaching to dead session won't give underlying exit code”
···
40
(fetchpatch {
41
name = "exit-code-when-attaching-to-dead-session";
42
url = "https://github.com/martanne/abduco/commit/972ca8ab949ee342569dbd66b47cc4a17b28247b.patch";
43
-
sha256 = "sha256-8hios0iKYDOmt6Bi5NNM9elTflGudnG2xgPF1pSkHI0=";
44
})
45
46
# “report pixel sizes to child processes that use ioctl(0, TIOCGWINSZ, ...)”
···
49
(fetchpatch {
50
name = "report-pixel-sizes-to-child-processes";
51
url = "https://github.com/martanne/abduco/commit/a1e222308119b3251f00b42e1ddff74a385d4249.patch";
52
-
sha256 = "sha256-eiF0A4IqJrrvXxjBYtltuVNpxQDv/iQPO+K7Y8hWBGg=";
53
})
54
];
55
···
9
10
let
11
rev = "8c32909a159aaa9484c82b71f05b7a73321eb491";
12
+
defaultUserConfig = writeText "config.def.h" conf;
13
in
14
stdenv.mkDerivation {
15
pname = "abduco";
16
+
version = "0.6.0-unstable-2020-04-30";
17
18
src = fetchzip {
19
urls = [
···
23
hash = "sha256-o7SPK/G31cW/rrLwV3UJOTq6EBHl6AEE/GdeKGlHdyg=";
24
};
25
26
+
configureFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "-D_DARWIN_C_SOURCE" ];
27
+
28
+
preBuild = lib.optionalString (conf != null) "cp ${defaultUserConfig} config.def.h";
29
30
installFlags = [ "install-completion" ];
0
31
32
patches = [
33
# https://github.com/martanne/abduco/pull/22
34
(fetchpatch {
35
name = "use-XDG-directory-scheme-by-default";
36
url = "https://github.com/martanne/abduco/commit/0e9a00312ac9777edcb169122144762e3611287b.patch";
37
+
hash = "sha256-4NkIflbRkUpS5XTM/fxBaELpvlZ4S5lecRa8jk0XC9g=";
38
})
39
40
# “fix bug where attaching to dead session won't give underlying exit code”
···
42
(fetchpatch {
43
name = "exit-code-when-attaching-to-dead-session";
44
url = "https://github.com/martanne/abduco/commit/972ca8ab949ee342569dbd66b47cc4a17b28247b.patch";
45
+
hash = "sha256-8hios0iKYDOmt6Bi5NNM9elTflGudnG2xgPF1pSkHI0=";
46
})
47
48
# “report pixel sizes to child processes that use ioctl(0, TIOCGWINSZ, ...)”
···
51
(fetchpatch {
52
name = "report-pixel-sizes-to-child-processes";
53
url = "https://github.com/martanne/abduco/commit/a1e222308119b3251f00b42e1ddff74a385d4249.patch";
54
+
hash = "sha256-eiF0A4IqJrrvXxjBYtltuVNpxQDv/iQPO+K7Y8hWBGg=";
55
})
56
];
57