nixpkgs/pkgs/desktops/gnome-3/core/libgnomekbd/default.nix
Luca Bruno 285d8f013c libgnomekbd: new package
Keyboard management library. Used by gnome-control-center.
2014-04-08 13:39:50 +02:00

25 lines
724 B
Nix

{ stdenv, fetchurl, pkgconfig, file, intltool, glib, gtk3, libxklavier, makeWrapper }:
stdenv.mkDerivation rec {
name = "libgnomekbd-3.6.0";
src = fetchurl {
url = "mirror://gnome/sources/libgnomekbd/3.6/${name}.tar.xz";
sha256 = "c41ea5b0f64da470925ba09f9f1b46b26b82d4e433e594b2c71eab3da8856a09";
};
buildInputs = [ pkgconfig file intltool glib gtk3 libxklavier makeWrapper ];
preFixup = ''
wrapProgram $out/bin/gkbd-keyboard-display \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
meta = with stdenv.lib; {
description = "Keyboard management library";
maintainers = with maintainers; [ lethalman ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}