285d8f013c
Keyboard management library. Used by gnome-control-center.
25 lines
724 B
Nix
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;
|
|
};
|
|
}
|