Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add “place-cursor-at” package to “release-20.09”
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters