tailscale: build derpprobe (#364918)
[NixPkgs.git] / pkgs / applications / misc / gxneur / default.nix
blob4fecff22e3c7409fbfc996d2b1218061f7f94795
2   lib,
3   stdenv,
4   fetchurl,
5   pkg-config,
6   intltool,
7   gtk2,
8   xorg,
9   glib,
10   xneur,
11   libglade,
12   GConf,
13   libappindicator-gtk2,
14   pcre,
17 stdenv.mkDerivation rec {
18   pname = "gxneur";
19   version = "0.20.0";
21   src = fetchurl {
22     url = "https://github.com/AndrewCrewKuznetsov/xneur-devel/raw/f66723feb272c68f7c22a8bf0dbcafa5e3a8a5ee/dists/${version}/gxneur_${version}.orig.tar.gz";
23     sha256 = "0avmhdcj0hpr55fc0iih8fjykmdhn34c8mwdnqvl8jh4nhxxchxr";
24   };
26   # glib-2.62 deprecations
27   env.NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
29   nativeBuildInputs = [
30     pkg-config
31     intltool
32   ];
33   buildInputs = [
34     xorg.libX11
35     glib
36     gtk2
37     xorg.libXpm
38     xorg.libXt
39     xorg.libXext
40     xneur
41     libglade
42     GConf
43     pcre
44     libappindicator-gtk2
45   ];
47   meta = with lib; {
48     description = "GUI for XNEUR keyboard layout switcher";
49     platforms = platforms.linux;
50     license = with licenses; [
51       gpl2
52       gpl3
53     ];
54     mainProgram = "gxneur";
55   };