2012-03-14 23:44:52 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, pcre, gstreamer, glib, libxml2, aspell
|
2010-07-28 20:01:17 +02:00
|
|
|
, imlib2, xorg, xosd }:
|
2009-01-12 07:14:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-10-28 15:06:56 +01:00
|
|
|
name = "xneur-0.8.0";
|
2010-07-28 20:01:17 +02:00
|
|
|
|
2009-01-12 07:14:13 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://dists.xneur.ru/release-0.8.0/tgz/xneur-0.8.0.tar.bz2;
|
|
|
|
sha256 = "1f05bm4vqdrlm8rxwgqv89k5lhc236xg841aw4snw514g0hi2sl8";
|
|
|
|
};
|
|
|
|
|
2010-07-28 20:01:17 +02:00
|
|
|
buildInputs =
|
2012-03-14 23:44:52 +01:00
|
|
|
[ xorg.libX11 pkgconfig pcre gstreamer glib libxml2 aspell
|
2010-07-28 20:01:17 +02:00
|
|
|
xorg.libXpm imlib2 xosd xorg.libXt xorg.libXext
|
|
|
|
];
|
2009-01-12 07:14:13 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -e 's/-Werror//' -i configure
|
2010-08-02 21:24:59 +02:00
|
|
|
sed -e 's@for aspell_dir in@for aspell_dir in ${aspell} @' -i configure
|
|
|
|
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
|
2009-01-12 07:14:13 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2010-07-28 20:01:17 +02:00
|
|
|
description = "Utility for switching between keyboard layouts";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-01-12 07:14:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|