mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
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.
This commit is contained in:
parent
262d03879b
commit
13d60d66d7
2 changed files with 11 additions and 1 deletions
|
@ -3,10 +3,13 @@
|
|||
lib,
|
||||
stdenv,
|
||||
makeWrapper,
|
||||
gtk3,
|
||||
openssl,
|
||||
perl,
|
||||
perlPackages,
|
||||
pkg-config,
|
||||
vte,
|
||||
withGamt ? false,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
@ -18,7 +21,12 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
perl
|
||||
SOAPLite
|
||||
])
|
||||
++ [ openssl ];
|
||||
++ [ openssl ]
|
||||
|
||||
++ lib.optionals withGamt [
|
||||
gtk3
|
||||
vte
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
pkg-config
|
||||
|
|
|
@ -8752,6 +8752,8 @@ with pkgs;
|
|||
protobuf = protobuf_21;
|
||||
};
|
||||
|
||||
gamt = callPackage ../by-name/am/amtterm/package.nix { withGamt = true; };
|
||||
|
||||
gcr = callPackage ../development/libraries/gcr { };
|
||||
|
||||
gcr_4 = callPackage ../development/libraries/gcr/4.nix { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue