nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromSourcehut,
5 SDL2,
6}:
7
8stdenv.mkDerivation rec {
9 pname = "clickclack";
10 version = "0.2.3";
11
12 src = fetchFromSourcehut {
13 owner = "~proycon";
14 repo = "clickclack";
15 rev = version;
16 hash = "sha256-YmlbGEmZgT/30c+mWQzdz4rKc69d75zhoNUA5FdxdMc=";
17 };
18
19 buildInputs = [
20 SDL2
21 ];
22
23 makeFlags = [
24 "PREFIX=${placeholder "out"}"
25 ];
26
27 meta = with lib; {
28 description = "Vibration/audio feedback tool to be used with virtual keyboards";
29 homepage = "https://git.sr.ht/~proycon/clickclack";
30 license = licenses.mit;
31 platforms = platforms.linux;
32 maintainers = with maintainers; [ dotlambda ];
33 mainProgram = "clickclack";
34 };
35}