nixpkgs/pkgs/tools/misc/clickclack/default.nix
2021-12-04 16:31:23 -08:00

34 lines
660 B
Nix

{ lib
, stdenv
, fetchFromSourcehut
, SDL2
}:
stdenv.mkDerivation rec {
pname = "clickclack";
version = "0.2";
src = fetchFromSourcehut {
owner = "~proycon";
repo = "clickclack";
rev = version;
sha256 = "sha256-hldtHSRdw6yP9lUFna5yvJ3mOTbQbbQNnGM7fMQmmtM=";
};
buildInputs = [
SDL2
];
makeFlags = [
"PREFIX=${placeholder "out"}"
];
meta = with lib; {
description = "A vibration/audio feedback tool to be used with virtual keyboards";
homepage = "https://git.sr.ht/~proycon/clickclack";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ dotlambda ];
};
}