nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 56 lines 999 B view raw
1{ 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, 15}: 16 17stdenv.mkDerivation rec { 18 pname = "gxneur"; 19 version = "0.20.0"; 20 21 src = fetchurl { 22 url = "https://github.com/AndrewCrewKuznetsov/xneur-devel/raw/f66723feb272c68f7c22a8bf0dbcafa5e3a8a5ee/dists/${version}/gxneur_${version}.orig.tar.gz"; 23 sha256 = "0avmhdcj0hpr55fc0iih8fjykmdhn34c8mwdnqvl8jh4nhxxchxr"; 24 }; 25 26 # glib-2.62 deprecations 27 env.NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS"; 28 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 ]; 46 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 }; 56}