tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dialog: 1.3-20220728 -> 1.3-20230209
Anderson Torres
2 years ago
bf5f8aa2
d48fc2f2
+13
-10
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
dialog
default.nix
+13
-10
pkgs/tools/misc/dialog/default.nix
···
3
3
, fetchurl
4
4
, libtool
5
5
, ncurses
6
6
-
, withLibrary ? false
6
6
+
, enableShared ? !stdenv.isDarwin
7
7
, unicodeSupport ? true
8
8
-
, enableShared ? !stdenv.isDarwin
8
8
+
, withLibrary ? false
9
9
}:
10
10
11
11
-
assert withLibrary -> libtool != null;
12
12
-
assert unicodeSupport -> ncurses != null && ncurses.unicodeSupport;
11
11
+
assert unicodeSupport -> ncurses.unicodeSupport;
13
12
14
13
stdenv.mkDerivation (finalAttrs: {
15
14
pname = "dialog";
16
16
-
version = "1.3-20220728";
15
15
+
version = "1.3-20230209";
17
16
18
17
src = fetchurl {
19
19
-
url = "ftp://ftp.invisible-island.net/dialog/dialog-${finalAttrs.version}.tgz";
20
20
-
hash = "sha256-VEGJc9VZpGGwBpX6/mjfYvK8c9UGtDaCHXfKPfRUGQs=";
18
18
+
url = "https://invisible-island.net/archives/dialog/dialog-${finalAttrs.version}.tgz";
19
19
+
hash = "sha256-DCYoIwUmS+IhfzNfN5j0ix3OPPEsWgdr8jHK33em1qg=";
21
20
};
21
21
+
22
22
+
nativeBuildInputs = lib.optional withLibrary libtool;
22
23
23
24
buildInputs = [
24
25
ncurses
25
26
];
27
27
+
28
28
+
strictDeps = true;
26
29
27
30
configureFlags = [
28
31
"--disable-rpath-hacks"
···
35
38
"install${lib.optionalString withLibrary "-full"}"
36
39
];
37
40
38
38
-
meta = with lib; {
41
41
+
meta = {
39
42
homepage = "https://invisible-island.net/dialog/dialog.html";
40
43
description = "Display dialog boxes from shell";
41
41
-
license = licenses.lgpl21Plus;
42
42
-
maintainers = with maintainers; [ AndersonTorres spacefrogg ];
44
44
+
license = lib.licenses.lgpl21Plus;
45
45
+
maintainers = with lib.maintainers; [ AndersonTorres spacefrogg ];
43
46
inherit (ncurses.meta) platforms;
44
47
};
45
48
})