nixpkgs/pkgs/tools/misc/clickclack/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
692 B
Nix
Raw Normal View History

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