summaryrefslogtreecommitdiffstats
path: root/pkgs/gebaar-libinput/default.nix
blob: a5406f1302484749a436ca3e295529506f6bf496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ gcc8Stdenv, fetchFromGitHub
, pkgconfig, cmake
, libinput, zlib
}:

let
  metadata = import ./metadata.nix;
in
gcc8Stdenv.mkDerivation rec {
  name = "${pname}-${version}";
  pname = "gebaar-libinput";
  version = metadata.rev;

  src = fetchFromGitHub {
    owner = "Coffee2CodeNL";
    repo = "gebaar-libinput";
    rev = version;
    sha256 = metadata.sha256;
    fetchSubmodules = true;
  };

  nativeBuildInputs = [ pkgconfig cmake ];
  buildInputs = [
    libinput zlib #cpptoml
  ];

  enableParallelBuilding = true;

  meta = with gcc8Stdenv.lib; {
    description = "Gebaar, A Super Simple WM Independent Touchpad Gesture Daemon for libinput";
    homepage    = "https://github.com/Coffee2CodeNL/gebaar-libinput";
    license     = licenses.gpl3;
    platforms   = platforms.linux;
    maintainers = with maintainers; [ colemickens ];
  };
}