depot/third_party/nixpkgs/pkgs/by-name/ke/keym/package.nix
Default email 83627f9931 Project import generated by Copybara.
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
2024-06-24 14:47:55 -04:00

34 lines
698 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, libX11
, libXtst
, libXi
}:
stdenv.mkDerivation {
pname = "keym";
version = "unstable-2022-07-10";
src = fetchFromGitHub {
owner = "cwkx";
repo = "keym";
rev = "67a6d39d45e17221353e06c39283b5636b46d25c";
hash = "sha256-v2eS7un2ABnpWBwuKq+0CeLX8ivtlNUjM2jRboKumOE=";
};
buildInputs = [ libX11 libXtst libXi ];
makeFlags = [
"PREFIX=$(out)"
];
meta = with lib; {
homepage = "https://github.com/cwkx/keym";
description = "C tool to control mouse with keyboard for X11";
license = licenses.mit;
platforms = platforms.linux;
mainProgram = "keym";
maintainers = with maintainers; [ CompileTime ];
};
}