mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
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:
committed by
sterni
parent
389249fa9b
commit
eb47cc02dd
30
pkgs/applications/misc/place-cursor-at/default.nix
Normal file
30
pkgs/applications/misc/place-cursor-at/default.nix
Normal 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;
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user