place-cursor-at: init at 1.0.1

To make it available in “release-20.09” as top-level package.
This commit is contained in:
Viacheslav Lotsmanov
2021-04-08 22:22:53 +03:00
committed by sterni
parent 389249fa9b
commit eb47cc02dd
2 changed files with 32 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -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 { };