Skip to content

Commit 7d391f5

Browse files
committedMar 13, 2025
amtterm: allow compiling with gamt
This adds a graphical version of amtterm, called `gamt`, which automatically gets built if gtk/gdk and vte are discovered. It's gated behind a `withGamt` flag, defaulting to false, and available as `gamt`. This follows the same logic as qcam.
1 parent 179281e commit 7d391f5

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
 

‎pkgs/by-name/am/amtterm/package.nix

+9-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
lib,
44
stdenv,
55
makeWrapper,
6+
gtk3,
67
openssl,
78
perl,
89
perlPackages,
910
pkg-config,
11+
vte,
12+
withGamt ? false,
1013
}:
1114

1215
stdenv.mkDerivation (finalAttrs: {
@@ -18,7 +21,12 @@ stdenv.mkDerivation (finalAttrs: {
1821
perl
1922
SOAPLite
2023
])
21-
++ [ openssl ];
24+
++ [ openssl ]
25+
26+
++ lib.optionals withGamt [
27+
gtk3
28+
vte
29+
];
2230
nativeBuildInputs = [
2331
makeWrapper
2432
pkg-config

‎pkgs/top-level/all-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -8786,6 +8786,8 @@ with pkgs;
87868786
protobuf = protobuf_21;
87878787
};
87888788

8789+
gamt = callPackage ../by-name/am/amtterm/package.nix { withGamt = true; };
8790+
87898791
gcovr = with python3Packages; toPythonApplication gcovr;
87908792

87918793
gcr = callPackage ../development/libraries/gcr { };

0 commit comments

Comments
 (0)
Failed to load comments.