Skip to content

Commit

Permalink
place-cursor-at: init at 1.0.1
Browse files Browse the repository at this point in the history
To make it available in “release-20.09” as top-level package.
  • Loading branch information
unclechu authored and sternenseemann committed Apr 15, 2021
1 parent 389249f commit eb47cc0
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/applications/misc/place-cursor-at/default.nix
@@ -0,0 +1,30 @@
{ 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";
};

isExecutable = true;
isLibrary = false;
enableSharedExecutables = false;
enableLibraryProfiling = false;
doHaddock = false;
postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";

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 @@ -25135,6 +25135,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 eb47cc0

Please sign in to comment.