nixpkgs/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix

58 lines
993 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
, meson
, ninja
, pkgconfig
, vala
, libgee
, granite
, gtk3
, switchboard
, elementary-settings-daemon
, glib
}:
2018-08-20 20:31:18 +00:00
stdenv.mkDerivation rec {
pname = "switchboard-plug-mouse-touchpad";
version = "2.4.2";
2018-08-20 20:31:18 +00:00
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
2020-09-03 23:43:09 +00:00
sha256 = "sha256-WJ/GRhZsSwC31HEIjHHWBy9/Skqbwor0tNVTedue3kk=";
2018-08-20 20:31:18 +00:00
};
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
2018-08-20 20:31:18 +00:00
};
};
nativeBuildInputs = [
meson
ninja
pkgconfig
vala
];
buildInputs = [
glib
2018-08-20 20:31:18 +00:00
granite
gtk3
libgee
elementary-settings-daemon
2018-08-20 20:31:18 +00:00
switchboard
];
meta = with lib; {
2018-08-20 20:31:18 +00:00
description = "Switchboard Mouse & Touchpad Plug";
homepage = "https://github.com/elementary/switchboard-plug-mouse-touchpad";
2018-08-20 20:31:18 +00:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};
}