git.iko.soy/typeable/nixpkgs
on master help sign in
xf86-input-cmt: init at 2.0.2
commit5df0605478575fda145f1d0a394ed40505d0d97f authorCalvin Kim <ccychc@gmail.com> dateSun 8 Sep 2019, 03:01 (7 years ago) parentb084a3d
1 file changed+36
pkgs/os-specific/linux/xf86-input-cmt/default.nix+36
pkgs/os-specific/linux/xf86-input-cmt/default.nixnew file+36
@@ -0,0 +1,36 @@
1+{ stdenv, fetchFromGitHub, pkgconfig, xorgserver, xorgproto,
2+ utilmacros, libgestures, libevdevc }:
3+
4+stdenv.mkDerivation rec {
5+ name = "xf86-input-cmt-${version}";
6+ version = "2.0.2";
7+ src = fetchFromGitHub {
8+ owner = "hugegreenbug";
9+ repo = "xf86-input-cmt";
10+ rev = "v${version}";
11+ sha256 = "1cnwf518nc0ybc1r3rsgc1gcql1k3785khffv0i4v3akrm9wdw98";
12+ };
13+
14+ postPatch = ''
15+ patchShebangs ./apply_patches.sh
16+ ./apply_patches.sh
17+ '';
18+
19+ nativeBuildInputs = [ pkgconfig ];
20+ buildInputs = [
21+ xorgserver xorgproto utilmacros
22+ libgestures libevdevc
23+ ];
24+
25+ configureFlags = [
26+ "--with-sdkdir=${placeholder "out"}"
27+ ];
28+
29+ meta = with stdenv.lib; {
30+ description = "Chromebook touchpad driver.";
31+ license = licenses.bsd3;
32+ platforms = platforms.linux;
33+ homepage = "www.github.com/hugegreenbug/xf86-input-cmt";
34+ maintainers = with maintainers; [ kcalvinalvin ];
35+ };
36+}