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

34 lines
660 B
Nix
Raw Normal View History

2021-04-03 10:46:54 +02:00
{ lib
, stdenv
, fetchFromSourcehut
, SDL2
}:
stdenv.mkDerivation rec {
pname = "clickclack";
2021-12-05 01:31:23 +01:00
version = "0.2";
2021-04-03 10:46:54 +02:00
src = fetchFromSourcehut {
owner = "~proycon";
repo = "clickclack";
rev = version;
2021-12-05 01:31:23 +01:00
sha256 = "sha256-hldtHSRdw6yP9lUFna5yvJ3mOTbQbbQNnGM7fMQmmtM=";
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 ];
};
}