nixpkgs/pkgs/development/libraries/libgnomekbd/default.nix
worldofpeace 47dcb0439a libgnomekbd: fix dependencies
There were things in Requires that weren't propagated.
2019-12-14 22:22:14 -05:00

37 lines
833 B
Nix

{ stdenv, fetchurl, pkgconfig, file, intltool, glib, gtk3, libxklavier, wrapGAppsHook, gnome3 }:
stdenv.mkDerivation rec {
pname = "libgnomekbd";
version = "3.26.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp";
};
passthru = {
updateScript = gnome3.updateScript { packageName = pname; };
};
nativeBuildInputs = [
file
intltool
pkgconfig
wrapGAppsHook
];
# Requires in libgnomekbd.pc
propagatedBuildInputs = [
gtk3
libxklavier
glib
];
meta = with stdenv.lib; {
description = "Keyboard management library";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}