2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, file, intltool, glib, gtk3, libxklavier, makeWrapper, gnome3 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-25 22:54:17 +00:00
|
|
|
pname = "libgnomekbd";
|
2019-02-22 01:02:16 +00:00
|
|
|
version = "3.26.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-25 22:54:17 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-02-22 01:02:16 +00:00
|
|
|
sha256 = "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2018-12-25 22:54:17 +00:00
|
|
|
updateScript = gnome3.updateScript { packageName = pname; };
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-12-17 03:38:11 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig file intltool makeWrapper ];
|
|
|
|
buildInputs = [ glib gtk3 libxklavier ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
wrapProgram $out/bin/gkbd-keyboard-display \
|
|
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Keyboard management library";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|