2019-12-14 19:18:12 -08:00
|
|
|
{ stdenv, fetchurl, pkgconfig, file, intltool, glib, gtk3, libxklavier, wrapGAppsHook, gnome3 }:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-25 14:54:17 -08:00
|
|
|
pname = "libgnomekbd";
|
2019-02-21 17:02:16 -08:00
|
|
|
version = "3.26.1";
|
2018-02-25 12:07:20 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-25 14:54:17 -08:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-02-21 17:02:16 -08:00
|
|
|
sha256 = "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp";
|
2018-02-25 12:07:20 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2018-12-25 14:54:17 -08:00
|
|
|
updateScript = gnome3.updateScript { packageName = pname; };
|
2018-02-25 12:07:20 -08:00
|
|
|
};
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2019-12-14 19:18:12 -08:00
|
|
|
nativeBuildInputs = [
|
|
|
|
file
|
|
|
|
intltool
|
|
|
|
pkgconfig
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2019-12-14 19:18:12 -08:00
|
|
|
# Requires in libgnomekbd.pc
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
gtk3
|
|
|
|
libxklavier
|
|
|
|
glib
|
|
|
|
];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Keyboard management library";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|