2018-07-15 23:33:57 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, xorg, pcre, gst_all_1, glib
|
|
|
|
, xosd, libnotify, enchant, wrapGAppsHook, gdk_pixbuf }:
|
2009-09-17 03:42:01 +00:00
|
|
|
|
2009-08-05 10:25:17 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-07-15 23:33:57 +00:00
|
|
|
name = "xneur-${version}";
|
|
|
|
version = "0.20.0";
|
|
|
|
|
2008-03-20 09:51:05 +00:00
|
|
|
src = fetchurl {
|
2018-07-15 23:33:57 +00:00
|
|
|
url = "https://github.com/AndrewCrewKuznetsov/xneur-devel/raw/f66723feb272c68f7c22a8bf0dbcafa5e3a8a5ee/dists/0.20.0/xneur_0.20.0.orig.tar.gz";
|
|
|
|
sha256 = "1lg3qpi9pkx9f5xvfc8yf39wwc98f769yb7i2438vqn66kla1xpr";
|
2008-03-20 09:51:05 +00:00
|
|
|
};
|
|
|
|
|
2018-07-15 23:33:57 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig intltool wrapGAppsHook
|
|
|
|
];
|
2008-11-03 19:16:21 +00:00
|
|
|
|
2018-07-15 23:33:57 +00:00
|
|
|
buildInputs = [
|
|
|
|
xorg.libX11 xorg.libXtst pcre gst_all_1.gstreamer glib
|
|
|
|
xosd xorg.libXext xorg.libXi libnotify
|
|
|
|
enchant gdk_pixbuf
|
|
|
|
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
|
|
|
];
|
2009-08-05 10:25:17 +00:00
|
|
|
|
2018-07-15 23:33:57 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -e 's@for xosd_dir in@for xosd_dir in ${xosd} @' -i configure
|
2008-11-03 19:16:21 +00:00
|
|
|
'';
|
2008-03-20 09:51:05 +00:00
|
|
|
|
2018-07-15 23:33:57 +00:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 18:01:17 +00:00
|
|
|
description = "Utility for switching between keyboard layouts";
|
2018-06-27 20:12:57 +00:00
|
|
|
homepage = https://xneur.ru;
|
2018-07-15 23:33:57 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2008-03-20 09:51:05 +00:00
|
|
|
};
|
|
|
|
}
|