3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/default.nix

69 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
, fetchpatch
, substituteAll
, meson
, ninja
2021-01-17 02:21:50 +00:00
, pkg-config
, vala
, libgee
, granite
, gtk3
, libxml2
, libgnomekbd
, libxklavier
, xorg
, ibus
, switchboard
}:
2018-08-20 21:31:18 +01:00
stdenv.mkDerivation rec {
pname = "switchboard-plug-keyboard";
version = "2.4.1";
2018-08-20 21:31:18 +01:00
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "sha256-iuv5NZ7v+rXyFsKB/PvGa/7hm9MIV8E6JnTzEGROlhM=";
2018-08-20 21:31:18 +01:00
};
patches = [
./0001-Remove-Install-Unlisted-Engines-function.patch
];
2018-08-20 21:31:18 +01:00
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
2018-08-20 21:31:18 +01:00
};
};
nativeBuildInputs = [
libxml2
meson
ninja
2021-01-17 02:21:50 +00:00
pkg-config
2018-08-20 21:31:18 +01:00
vala
];
buildInputs = [
granite
gtk3
ibus
2018-08-20 21:31:18 +01:00
libgee
libgnomekbd
libxklavier
switchboard
];
meta = with lib; {
2018-08-20 21:31:18 +01:00
description = "Switchboard Keyboard Plug";
homepage = "https://github.com/elementary/switchboard-plug-keyboard";
2018-08-20 21:31:18 +01:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};
}