mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
35 lines
692 B
Nix
35 lines
692 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromSourcehut
|
|
, SDL2
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "clickclack";
|
|
version = "0.2.3";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~proycon";
|
|
repo = "clickclack";
|
|
rev = version;
|
|
hash = "sha256-YmlbGEmZgT/30c+mWQzdz4rKc69d75zhoNUA5FdxdMc=";
|
|
};
|
|
|
|
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 ];
|
|
mainProgram = "clickclack";
|
|
};
|
|
}
|