From 0b5aba3bbd848dd03170821cb1153e15dd91d835 Mon Sep 17 00:00:00 2001 From: Jayesh Bhoot Date: Thu, 28 Apr 2022 14:35:11 +0530 Subject: [PATCH] kmousetool: init at 21.12.3 (#170594) * kmousetool: init at 21.12.3 * kmousetool: add githubId in maintainers-list This should resolve an error thrown by ofborg * kmousetool: move meta attrset to the bottom --- maintainers/maintainer-list.nix | 6 +++++ pkgs/applications/kde/default.nix | 1 + pkgs/applications/kde/kmousetool.nix | 35 ++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 pkgs/applications/kde/kmousetool.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 4ecc139aa74c..5ea168c950fa 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5605,6 +5605,12 @@ githubId = 488556; name = "Javier Aguirre"; }; + jayesh-bhoot = { + name = "Jayesh Bhoot"; + email = "jayesh@bhoot.sh"; + github = "jayesh-bhoot"; + githubId = 1915507; + }; jb55 = { email = "jb55@jb55.com"; github = "jb55"; diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix index 8bd3dcb87040..c390e004c8cc 100644 --- a/pkgs/applications/kde/default.nix +++ b/pkgs/applications/kde/default.nix @@ -154,6 +154,7 @@ let kmime = callPackage ./kmime.nix {}; kmines = callPackage ./kmines.nix {}; kmix = callPackage ./kmix.nix {}; + kmousetool = callPackage ./kmousetool.nix {}; kmplot = callPackage ./kmplot.nix {}; knavalbattle = callPackage ./knavalbattle.nix {}; knetwalk = callPackage ./knetwalk.nix {}; diff --git a/pkgs/applications/kde/kmousetool.nix b/pkgs/applications/kde/kmousetool.nix new file mode 100644 index 000000000000..fb4323455b79 --- /dev/null +++ b/pkgs/applications/kde/kmousetool.nix @@ -0,0 +1,35 @@ +{ mkDerivation +, lib +, extra-cmake-modules +, kdoctools +, ki18n +, kiconthemes +, knotifications +, kxmlgui +, kwindowsystem +, phonon +, libXtst +, libXt +}: + +mkDerivation { + pname = "kmousetool"; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; + buildInputs = [ + ki18n + kiconthemes + knotifications + kxmlgui + kwindowsystem + phonon + libXtst + libXt + ]; + meta = { + homepage = "https://github.com/KDE/kmousetool"; + description = "Program that clicks the mouse for you"; + license = with lib.licenses; [ gpl2 fdl12 ]; + maintainers = [ lib.maintainers.jayesh-bhoot ]; + }; +} +