35 lines
672 B
Nix
35 lines
672 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
libX11,
|
|
libXi,
|
|
libconfuse,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dispad";
|
|
version = "0.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BlueDragonX";
|
|
repo = "dispad";
|
|
rev = "v${version}";
|
|
hash = "sha256-PtwvaNtnCm3Y+6vlxPDc21RyIA2v3vkMOHpoGFxNFng=";
|
|
};
|
|
|
|
buildInputs = [
|
|
libX11
|
|
libXi
|
|
libconfuse
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Small daemon for disabling trackpads while typing";
|
|
homepage = "https://github.com/BlueDragonX/dispad";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "dispad";
|
|
};
|
|
}
|