You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 852B

12345678910111213141516171819202122232425
  1. { stdenv, fetchurl, pkgconfig, intltool, gtk2, xorg, glib, xneur, libglade, GConf, libappindicator-gtk2, pcre }:
  2. stdenv.mkDerivation {
  3. name = "gxneur-0.20.0";
  4. src = fetchurl {
  5. url = https://github.com/AndrewCrewKuznetsov/xneur-devel/raw/f66723feb272c68f7c22a8bf0dbcafa5e3a8a5ee/dists/0.20.0/gxneur_0.20.0.orig.tar.gz;
  6. sha256 = "0avmhdcj0hpr55fc0iih8fjykmdhn34c8mwdnqvl8jh4nhxxchxr";
  7. };
  8. # glib-2.62 deprecations
  9. NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];
  10. nativeBuildInputs = [ pkgconfig intltool ];
  11. buildInputs = [
  12. xorg.libX11 glib gtk2 xorg.libXpm xorg.libXt xorg.libXext xneur
  13. libglade GConf pcre libappindicator-gtk2
  14. ];
  15. meta = with stdenv.lib; {
  16. description = "GUI for XNEUR keyboard layout switcher";
  17. platforms = platforms.linux;
  18. license = with licenses; [ gpl2 gpl3 ];
  19. };
  20. }