2018-07-16 01:33:57 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk2, xorg, glib, xneur, libglade, GConf, pcre }:
|
2012-08-14 12:50:25 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gxneur-0.13.0";
|
2018-07-16 01:33:57 +02:00
|
|
|
|
2012-08-14 12:50:25 +02:00
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = https://dists.xneur.ru/release-0.13.0/tgz/gxneur-0.13.0.tar.bz2;
|
2012-08-14 12:50:25 +02:00
|
|
|
sha256 = "f093428a479158247a7ff8424f0aec9af9f7b1d05b191cf30b7c534965a6839f";
|
|
|
|
};
|
|
|
|
|
2017-09-14 21:24:37 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2012-08-14 12:50:25 +02:00
|
|
|
buildInputs = [
|
2018-07-16 01:33:57 +02:00
|
|
|
xorg.libX11 glib gtk2 xorg.libXpm xorg.libXt xorg.libXext xneur
|
2012-08-14 12:50:25 +02:00
|
|
|
libglade GConf pcre
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -e 's@-Werror@@' -i configure
|
2018-07-16 01:33:57 +02:00
|
|
|
sed -e 's@"xneur"@"${xneur}/bin/xneur"@' -i src/misc.c
|
2012-08-14 12:50:25 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GUI for XNEUR keyboard layout switcher";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-08-14 12:50:25 +02:00
|
|
|
};
|
|
|
|
}
|