tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
contour: 0.4.3.6442 -> 0.5.1.7247
moni.tngl.sh
1 year ago
b1fa370d
ac196039
+119
-124
5 changed files
expand all
collapse all
unified
split
pkgs
applications
terminal-emulators
contour
default.nix
by-name
co
contour
dont-fix-app-bundle.diff
package.nix
gl
glaze
package.nix
top-level
all-packages.nix
-106
pkgs/applications/terminal-emulators/contour/default.nix
···
1
-
{ lib
2
-
, stdenv
3
-
, fetchFromGitHub
4
-
, cmake
5
-
, pkg-config
6
-
, boxed-cpp
7
-
, freetype
8
-
, fontconfig
9
-
, libunicode
10
-
, libutempter
11
-
, termbench-pro
12
-
, qtmultimedia
13
-
, qt5compat
14
-
, wrapQtAppsHook
15
-
, pcre
16
-
, boost
17
-
, catch2
18
-
, fmt
19
-
, microsoft-gsl
20
-
, range-v3
21
-
, yaml-cpp
22
-
, ncurses
23
-
, file
24
-
, utmp
25
-
, sigtool
26
-
, nixosTests
27
-
, installShellFiles
28
-
}:
29
-
30
-
stdenv.mkDerivation (final: {
31
-
pname = "contour";
32
-
version = "0.4.3.6442";
33
-
34
-
src = fetchFromGitHub {
35
-
owner = "contour-terminal";
36
-
repo = "contour";
37
-
rev = "v${final.version}";
38
-
hash = "sha256-m3BEhGbyQm07+1/h2IRhooLPDewmSuhRHOMpWPDluiY=";
39
-
};
40
-
41
-
patches = [ ./dont-fix-app-bundle.diff ];
42
-
43
-
outputs = [ "out" "terminfo" ];
44
-
45
-
nativeBuildInputs = [
46
-
cmake
47
-
pkg-config
48
-
ncurses
49
-
file
50
-
wrapQtAppsHook
51
-
installShellFiles
52
-
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ sigtool ];
53
-
54
-
buildInputs = [
55
-
boxed-cpp
56
-
fontconfig
57
-
freetype
58
-
libunicode
59
-
termbench-pro
60
-
qtmultimedia
61
-
qt5compat
62
-
pcre
63
-
boost
64
-
catch2
65
-
fmt
66
-
microsoft-gsl
67
-
range-v3
68
-
yaml-cpp
69
-
]
70
-
++ lib.optionals stdenv.hostPlatform.isLinux [ libutempter ]
71
-
++ lib.optionals stdenv.hostPlatform.isDarwin [ utmp ];
72
-
73
-
cmakeFlags = [ "-DCONTOUR_QT_VERSION=6" ];
74
-
75
-
postInstall = ''
76
-
mkdir -p $out/nix-support $terminfo/share
77
-
'' + lib.optionalString stdenv.hostPlatform.isDarwin ''
78
-
mkdir $out/Applications
79
-
installShellCompletion --zsh $out/contour.app/Contents/Resources/shell-integration/shell-integration.zsh
80
-
installShellCompletion --fish $out/contour.app/Contents/Resources/shell-integration/shell-integration.fish
81
-
cp -r $out/contour.app/Contents/Resources/terminfo $terminfo/share
82
-
mv $out/contour.app $out/Applications
83
-
ln -s $out/bin $out/Applications/contour.app/Contents/MacOS
84
-
'' + lib.optionalString stdenv.hostPlatform.isLinux ''
85
-
mv $out/share/terminfo $terminfo/share/
86
-
installShellCompletion --zsh $out/share/contour/shell-integration/shell-integration.zsh
87
-
installShellCompletion --fish $out/share/contour/shell-integration/shell-integration.fish
88
-
'' + ''
89
-
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
90
-
'';
91
-
92
-
passthru.tests.test = nixosTests.terminal-emulators.contour;
93
-
94
-
meta = with lib; {
95
-
description = "Modern C++ Terminal Emulator";
96
-
homepage = "https://github.com/contour-terminal/contour";
97
-
changelog = "https://github.com/contour-terminal/contour/raw/v${version}/Changelog.md";
98
-
license = licenses.asl20;
99
-
maintainers = with maintainers; [ moni ];
100
-
platforms = platforms.unix;
101
-
mainProgram = "contour";
102
-
# This was caused by boxed-cpp 1.4.2 -> 1.4.3
103
-
# More details in issue #345752
104
-
broken = true;
105
-
};
106
-
})
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
pkgs/applications/terminal-emulators/contour/dont-fix-app-bundle.diff
pkgs/by-name/co/contour/dont-fix-app-bundle.diff
+114
pkgs/by-name/co/contour/package.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{
2
+
lib,
3
+
stdenv,
4
+
fetchFromGitHub,
5
+
cmake,
6
+
pkg-config,
7
+
boxed-cpp,
8
+
freetype,
9
+
fontconfig,
10
+
libunicode,
11
+
libutempter,
12
+
termbench-pro,
13
+
qt6,
14
+
pcre,
15
+
boost,
16
+
catch2_3,
17
+
fmt,
18
+
microsoft-gsl,
19
+
range-v3,
20
+
yaml-cpp,
21
+
ncurses,
22
+
file,
23
+
apple-sdk_11,
24
+
libutil,
25
+
sigtool,
26
+
nixosTests,
27
+
installShellFiles,
28
+
}:
29
+
30
+
stdenv.mkDerivation (final: {
31
+
pname = "contour";
32
+
version = "0.5.1.7247";
33
+
34
+
src = fetchFromGitHub {
35
+
owner = "contour-terminal";
36
+
repo = "contour";
37
+
rev = "v${final.version}";
38
+
hash = "sha256-/vpbyaULemyM3elwaoofvbeeID7jNrmu8X8HlZxWGCk";
39
+
};
40
+
41
+
patches = [ ./dont-fix-app-bundle.diff ];
42
+
43
+
outputs = [
44
+
"out"
45
+
"terminfo"
46
+
];
47
+
48
+
nativeBuildInputs = [
49
+
cmake
50
+
pkg-config
51
+
ncurses
52
+
file
53
+
qt6.wrapQtAppsHook
54
+
installShellFiles
55
+
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ sigtool ];
56
+
57
+
buildInputs =
58
+
[
59
+
boxed-cpp
60
+
fontconfig
61
+
freetype
62
+
libunicode
63
+
termbench-pro
64
+
qt6.qtmultimedia
65
+
qt6.qt5compat
66
+
pcre
67
+
boost
68
+
catch2_3
69
+
fmt
70
+
microsoft-gsl
71
+
range-v3
72
+
yaml-cpp
73
+
]
74
+
++ lib.optionals stdenv.hostPlatform.isLinux [ libutempter ]
75
+
++ lib.optionals stdenv.hostPlatform.isDarwin [
76
+
apple-sdk_11
77
+
libutil
78
+
];
79
+
80
+
cmakeFlags = [ "-DCONTOUR_QT_VERSION=6" ];
81
+
82
+
postInstall =
83
+
''
84
+
mkdir -p $out/nix-support $terminfo/share
85
+
''
86
+
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
87
+
mkdir $out/Applications
88
+
installShellCompletion --zsh $out/contour.app/Contents/Resources/shell-integration/shell-integration.zsh
89
+
installShellCompletion --fish $out/contour.app/Contents/Resources/shell-integration/shell-integration.fish
90
+
cp -r $out/contour.app/Contents/Resources/terminfo $terminfo/share
91
+
mv $out/contour.app $out/Applications
92
+
ln -s $out/bin $out/Applications/contour.app/Contents/MacOS
93
+
''
94
+
+ lib.optionalString stdenv.hostPlatform.isLinux ''
95
+
mv $out/share/terminfo $terminfo/share/
96
+
installShellCompletion --zsh $out/share/contour/shell-integration/shell-integration.zsh
97
+
installShellCompletion --fish $out/share/contour/shell-integration/shell-integration.fish
98
+
''
99
+
+ ''
100
+
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
101
+
'';
102
+
103
+
passthru.tests.test = nixosTests.terminal-emulators.contour;
104
+
105
+
meta = with lib; {
106
+
description = "Modern C++ Terminal Emulator";
107
+
homepage = "https://github.com/contour-terminal/contour";
108
+
changelog = "https://github.com/contour-terminal/contour/raw/v${version}/Changelog.md";
109
+
license = licenses.asl20;
110
+
maintainers = with maintainers; [ moni ];
111
+
platforms = platforms.unix;
112
+
mainProgram = "contour";
113
+
};
114
+
})
+2
-2
pkgs/by-name/gl/glaze/package.nix
···
3
stdenv,
4
fetchFromGitHub,
5
cmake,
6
-
avx2 ? false,
7
}:
8
9
stdenv.mkDerivation (final: {
···
18
};
19
20
nativeBuildInputs = [ cmake ];
21
-
cmakeFlags = [ "-Dglaze_ENABLE_AVX2=${if avx2 then "ON" else "OFF"}" ];
22
23
meta = with lib; {
24
description = "Extremely fast, in memory, JSON and interface library for modern C++";
···
3
stdenv,
4
fetchFromGitHub,
5
cmake,
6
+
enableAvx2 ? false,
7
}:
8
9
stdenv.mkDerivation (final: {
···
18
};
19
20
nativeBuildInputs = [ cmake ];
21
+
cmakeFlags = [ (lib.cmakeBool "glaze_ENABLE_AVX2" enableAvx2) ];
22
23
meta = with lib; {
24
description = "Extremely fast, in memory, JSON and interface library for modern C++";
+3
-16
pkgs/top-level/all-packages.nix
···
1606
1607
### APPLICATIONS/TERMINAL-EMULATORS
1608
1609
-
contour = qt6.callPackage ../applications/terminal-emulators/contour {
1610
-
inherit (darwin.apple_sdk_11_0.libs) utmp;
1611
-
inherit (darwin) sigtool;
1612
-
stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
1613
-
catch2 = catch2_3;
1614
-
fmt = fmt_9;
1615
};
1616
1617
cool-retro-term = libsForQt5.callPackage ../applications/terminal-emulators/cool-retro-term { };
···
10305
libunicode = callPackage ../by-name/li/libunicode/package.nix {
10306
stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_17.stdenv else stdenv;
10307
};
10308
-
10309
-
libusbgx = callPackage ../development/libraries/libusbgx { };
10310
-
10311
-
libusbsio = callPackage ../development/libraries/libusbsio { };
10312
-
10313
-
libucontext = callPackage ../development/libraries/libucontext { };
10314
-
10315
-
libutempter = callPackage ../development/libraries/libutempter { };
10316
-
10317
-
libuldaq = callPackage ../development/libraries/libuldaq { };
10318
10319
libunwind =
10320
# Use the system unwinder in the SDK but provide a compatibility package to:
···
1606
1607
### APPLICATIONS/TERMINAL-EMULATORS
1608
1609
+
contour = callPackage ../by-name/co/contour/package.nix {
1610
+
inherit (darwin) libutil sigtool;
1611
+
stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_17.stdenv else stdenv;
0
0
0
1612
};
1613
1614
cool-retro-term = libsForQt5.callPackage ../applications/terminal-emulators/cool-retro-term { };
···
10302
libunicode = callPackage ../by-name/li/libunicode/package.nix {
10303
stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_17.stdenv else stdenv;
10304
};
0
0
0
0
0
0
0
0
0
0
10305
10306
libunwind =
10307
# Use the system unwinder in the SDK but provide a compatibility package to: