depot/third_party/nixpkgs/pkgs/development/libraries/libgnomekbd/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

38 lines
857 B
Nix

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