2021-01-17 05:09:27 +03:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, intltool, xorg, pcre, gst_all_1, glib
|
2019-05-22 14:03:39 +03:00
|
|
|
, xosd, libnotify, enchant, wrapGAppsHook, gdk-pixbuf }:
|
2009-09-17 07:42:01 +04:00
|
|
|
|
2019-08-14 00:52:01 +03:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "xneur";
|
2018-07-16 02:33:57 +03:00
|
|
|
version = "0.20.0";
|
|
|
|
|
2008-03-20 12:51:05 +03:00
|
|
|
src = fetchurl {
|
2018-07-16 02:33:57 +03: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 12:51:05 +03:00
|
|
|
};
|
|
|
|
|
2018-07-16 02:33:57 +03:00
|
|
|
nativeBuildInputs = [
|
2021-01-17 05:09:27 +03:00
|
|
|
pkg-config intltool wrapGAppsHook
|
2018-07-16 02:33:57 +03:00
|
|
|
];
|
2008-11-03 22:16:21 +03:00
|
|
|
|
2018-07-16 02:33:57 +03:00
|
|
|
buildInputs = [
|
|
|
|
xorg.libX11 xorg.libXtst pcre gst_all_1.gstreamer glib
|
|
|
|
xosd xorg.libXext xorg.libXi libnotify
|
2019-05-22 14:03:39 +03:00
|
|
|
enchant gdk-pixbuf
|
2018-07-16 02:33:57 +03:00
|
|
|
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
|
|
|
];
|
2009-08-05 14:25:17 +04:00
|
|
|
|
2018-07-16 02:33:57 +03:00
|
|
|
postPatch = ''
|
|
|
|
sed -e 's@for xosd_dir in@for xosd_dir in ${xosd} @' -i configure
|
2008-11-03 22:16:21 +03:00
|
|
|
'';
|
2008-03-20 12:51:05 +03:00
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2010-07-28 22:01:17 +04:00
|
|
|
description = "Utility for switching between keyboard layouts";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://xneur.ru";
|
2018-07-16 02:33:57 +03:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2008-03-20 12:51:05 +03:00
|
|
|
};
|
|
|
|
}
|