2008-03-20 10:51:05 +01:00
|
|
|
args: with args;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name="xneur";
|
|
|
|
src = fetchurl {
|
2009-01-11 10:28:07 +01:00
|
|
|
url = http://dists.xneur.ru/release-0.9.3/tgz/xneur-0.9.3.tar.bz2;
|
|
|
|
sha256 = "14pjsxajbibjl70yrvina3kk2114h3i7bgyqlxpjkfcz2778qq12";
|
2008-03-20 10:51:05 +01:00
|
|
|
};
|
|
|
|
|
2008-11-03 20:16:21 +01:00
|
|
|
buildInputs = [libX11 pkgconfig pcre GStreamer glib libxml2 aspell
|
2009-01-11 11:19:11 +01:00
|
|
|
libXpm imlib2 xosd libXt libXext];
|
2008-03-20 10:51:05 +01:00
|
|
|
|
2009-01-11 11:19:11 +01:00
|
|
|
inherit aspell imlib2 xosd;
|
2008-11-03 20:16:21 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -e 's/-Werror//' -i configure
|
|
|
|
sed -e 's/for aspell_dir in/for aspell_dir in $aspell /' -i configure
|
2009-01-11 11:19:11 +01:00
|
|
|
sed -e 's/for imlib2_dir in/for imlib2_dir in $imlib2 /' -i configure
|
|
|
|
sed -e 's/for xosd_dir in/for xosd_dir in $xosd /' -i configure
|
2008-11-03 20:16:21 +01:00
|
|
|
'';
|
2008-03-20 10:51:05 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "xneur is the keyboard layout switcher.";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|