3
0
Fork 0
forked from mirrors/nixpkgs

gxneur: 0.13.0 → 0.20.0

This commit is contained in:
Jan Tojnar 2018-07-16 01:44:32 +02:00
parent c19652a60f
commit f4e510302f
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,24 +1,19 @@
{ stdenv, fetchurl, pkgconfig, gtk2, xorg, glib, xneur, libglade, GConf, pcre }: { stdenv, fetchurl, pkgconfig, intltool, gtk2, xorg, glib, xneur, libglade, GConf, libappindicator-gtk2, pcre }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "gxneur-0.13.0"; name = "gxneur-0.20.0";
src = fetchurl { src = fetchurl {
url = https://dists.xneur.ru/release-0.13.0/tgz/gxneur-0.13.0.tar.bz2; url = https://github.com/AndrewCrewKuznetsov/xneur-devel/raw/f66723feb272c68f7c22a8bf0dbcafa5e3a8a5ee/dists/0.20.0/gxneur_0.20.0.orig.tar.gz;
sha256 = "f093428a479158247a7ff8424f0aec9af9f7b1d05b191cf30b7c534965a6839f"; sha256 = "0avmhdcj0hpr55fc0iih8fjykmdhn34c8mwdnqvl8jh4nhxxchxr";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ buildInputs = [
xorg.libX11 glib gtk2 xorg.libXpm xorg.libXt xorg.libXext xneur xorg.libX11 glib gtk2 xorg.libXpm xorg.libXt xorg.libXext xneur
libglade GConf pcre libglade GConf pcre libappindicator-gtk2
]; ];
preConfigure = ''
sed -e 's@-Werror@@' -i configure
sed -e 's@"xneur"@"${xneur}/bin/xneur"@' -i src/misc.c
'';
meta = { meta = {
description = "GUI for XNEUR keyboard layout switcher"; description = "GUI for XNEUR keyboard layout switcher";
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;