3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/xneur/default.nix

36 lines
1 KiB
Nix
Raw Normal View History

2018-07-16 00:33:57 +01:00
{ stdenv, fetchurl, pkgconfig, intltool, xorg, pcre, gst_all_1, glib
2019-05-22 12:03:39 +01:00
, xosd, libnotify, enchant, wrapGAppsHook, gdk-pixbuf }:
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "xneur";
2018-07-16 00:33:57 +01:00
version = "0.20.0";
src = fetchurl {
2018-07-16 00:33:57 +01:00
url = "https://github.com/AndrewCrewKuznetsov/xneur-devel/raw/f66723feb272c68f7c22a8bf0dbcafa5e3a8a5ee/dists/0.20.0/xneur_0.20.0.orig.tar.gz";
sha256 = "1lg3qpi9pkx9f5xvfc8yf39wwc98f769yb7i2438vqn66kla1xpr";
};
2018-07-16 00:33:57 +01:00
nativeBuildInputs = [
pkgconfig intltool wrapGAppsHook
];
2018-07-16 00:33:57 +01:00
buildInputs = [
xorg.libX11 xorg.libXtst pcre gst_all_1.gstreamer glib
xosd xorg.libXext xorg.libXi libnotify
2019-05-22 12:03:39 +01:00
enchant gdk-pixbuf
2018-07-16 00:33:57 +01:00
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
];
2018-07-16 00:33:57 +01:00
postPatch = ''
sed -e 's@for xosd_dir in@for xosd_dir in ${xosd} @' -i configure
'';
2018-07-16 00:33:57 +01:00
meta = with stdenv.lib; {
description = "Utility for switching between keyboard layouts";
2018-06-27 21:12:57 +01:00
homepage = https://xneur.ru;
2018-07-16 00:33:57 +01:00
license = licenses.gpl2Plus;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
};
}