Skip to content

Commit

Permalink
Add “place-cursor-at” package to “release-20.09”
Browse files Browse the repository at this point in the history
  • Loading branch information
unclechu committed Apr 8, 2021
1 parent cbf39a8 commit cd5729d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/applications/misc/place-cursor-at/default.nix
@@ -0,0 +1,25 @@
{ stdenv
, fetchFromGitHub
, haskellPackages
, libXinerama
}:
let inherit (haskellPackages) base base-unicode-symbols X11; in
haskellPackages.mkDerivation rec {
pname = "place-cursor-at";
version = "1.0.1";

src = fetchFromGitHub {
owner = "unclechu";
repo = "place-cursor-at";
rev = "v${version}";
sha256 = "1kryqcjnj33v6dva8nfb46qjw7ar9x7lhrns1ncns53xy2mdl9f0";
};

isLibrary = false;
isExecutable = true;
executableHaskellDepends = [ base base-unicode-symbols X11 ];
executableSystemDepends = [ libXinerama ];
homepage = "https://github.com/unclechu/place-cursor-at#readme";
description = "A utility for X11 that moves the mouse cursor using the keyboard";
license = stdenv.lib.licenses.gpl3;
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -25120,6 +25120,8 @@ in

pioneers = callPackage ../games/pioneers { };

place-cursor-at = callPackage ../applications/misc/place-cursor-at {};

planetary_annihilation = callPackage ../games/planetaryannihilation { };

pong3d = callPackage ../games/pong3d { };
Expand Down

0 comments on commit cd5729d

Please sign in to comment.