tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ctx: init at 0.pre+date=2021-10-09
AndersonTorres
4 years ago
7db1198c
f1220d72
+60
2 changed files
expand all
collapse all
unified
split
pkgs
applications
terminal-emulators
ctx
default.nix
top-level
all-packages.nix
+58
pkgs/applications/terminal-emulators/ctx/default.nix
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchgit
4
4
+
, SDL2
5
5
+
, alsa-lib
6
6
+
, babl
7
7
+
, curl
8
8
+
, libdrm # Not documented
9
9
+
, pkg-config
10
10
+
, enableFb ? false
11
11
+
}:
12
12
+
13
13
+
stdenv.mkDerivation rec {
14
14
+
pname = "ctx";
15
15
+
version = "0.pre+date=2021-10-09";
16
16
+
17
17
+
src = fetchgit {
18
18
+
name = "ctx-source"; # because of a dash starting the directory
19
19
+
url = "https://ctx.graphics/.git/";
20
20
+
rev = "d11d0d1a719a3c77712528e2feed8c0878e0ea64";
21
21
+
sha256 = "sha256-Az3POgdvDOVaaRtzLlISDODhAKbefpGx5KgwO3dttqs=";
22
22
+
};
23
23
+
24
24
+
nativeBuildInputs = [
25
25
+
pkg-config
26
26
+
];
27
27
+
28
28
+
buildInputs = [
29
29
+
SDL2
30
30
+
alsa-lib
31
31
+
babl
32
32
+
curl
33
33
+
libdrm
34
34
+
];
35
35
+
36
36
+
configureScript = "./configure.sh";
37
37
+
configureFlags = lib.optional enableFb "--enable-fb";
38
38
+
dontAddPrefix = true;
39
39
+
40
40
+
hardeningDisable = [ "format" ];
41
41
+
42
42
+
installFlags = [
43
43
+
"PREFIX=${placeholder "out"}"
44
44
+
];
45
45
+
46
46
+
meta = with lib; {
47
47
+
homepage = "https://ctx.graphics/";
48
48
+
description = "Vector graphics terminal";
49
49
+
longDescription= ''
50
50
+
ctx is an interactive 2D vector graphics, audio, text- canvas and
51
51
+
terminal, with escape sequences that enable a 2D vector drawing API using
52
52
+
a vector graphics protocol.
53
53
+
'';
54
54
+
license = licenses.gpl3Plus;
55
55
+
maintainers = with maintainers; [ AndersonTorres];
56
56
+
platforms = platforms.unix;
57
57
+
};
58
58
+
}
+2
pkgs/top-level/all-packages.nix
···
999
999
inherit (lxqt) qtermwidget;
1000
1000
};
1001
1001
1002
1002
+
ctx = callPackage ../applications/terminal-emulators/ctx { };
1003
1003
+
1002
1004
darktile = callPackage ../applications/terminal-emulators/darktile { };
1003
1005
1004
1006
eterm = callPackage ../applications/terminal-emulators/eterm { };