2021-04-03 08:46:54 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromSourcehut
|
|
|
|
, SDL2
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "clickclack";
|
2022-05-11 00:34:09 +00:00
|
|
|
version = "0.2.3";
|
2021-04-03 08:46:54 +00:00
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~proycon";
|
|
|
|
repo = "clickclack";
|
|
|
|
rev = version;
|
2022-05-11 00:34:09 +00:00
|
|
|
hash = "sha256-YmlbGEmZgT/30c+mWQzdz4rKc69d75zhoNUA5FdxdMc=";
|
2021-04-03 08:46:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "clickclack";
|
2021-04-03 08:46:54 +00:00
|
|
|
};
|
|
|
|
}
|