chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / wf / wf-touch / package.nix
blob2c32f563db2d96b0d457dd4e04d9ae1ad7073c70
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   fetchpatch,
6   pkg-config,
7   meson,
8   cmake,
9   ninja,
10   glm,
11   doctest,
12   unstableGitUpdater,
15 stdenv.mkDerivation {
16   pname = "wf-touch";
17   version = "0-unstable-2021-03-19";
19   src = fetchFromGitHub {
20     owner = "WayfireWM";
21     repo = "wf-touch";
22     rev = "8974eb0f6a65464b63dd03b842795cb441fb6403";
23     hash = "sha256-MjsYeKWL16vMKETtKM5xWXszlYUOEk3ghwYI85Lv4SE=";
24   };
26   nativeBuildInputs = [
27     meson
28     pkg-config
29     cmake
30     ninja
31   ];
33   buildInputs = [ doctest ];
35   propagatedBuildInputs = [ glm ];
37   mesonBuildType = "release";
39   # Patch wf-touch to generate pkgconfig
40   patches = fetchpatch {
41     url = "https://raw.githubusercontent.com/horriblename/hyprgrass/736119f828eecaed2deaae1d6ff1f50d6dabaaba/nix/wf-touch.patch";
42     hash = "sha256-3YK5YnO0NCwshs1reJFjJ9tIEhTNSS0fPWUDFo3XA3s=";
43   };
45   outputs = [
46     "out"
47     "dev"
48   ];
50   passthru.updateScript = unstableGitUpdater { };
52   meta = {
53     description = "Touchscreen gesture library";
54     homepage = "https://github.com/WayfireWM/wf-touch";
55     license = lib.licenses.mit;
56     maintainers = with lib.maintainers; [ donovanglover ];
57     platforms = lib.platforms.unix;
58   };