diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-08-03 08:53:10 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-08-10 06:34:07 +0000 |
commit | b75bb092e717a151bfe426833342337ff9b18d4a (patch) | |
tree | a5624f3c7e7c122155a7a25950927c747c774fcb /pkgs/development/libraries/libinput | |
parent | 0f684dc8b207ebf21ccf34005ebbd810f412a8fe (diff) |
libinput: 1.16.4 -> 1.18.1
Diffstat (limited to 'pkgs/development/libraries/libinput')
-rw-r--r-- | pkgs/development/libraries/libinput/default.nix | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/development/libraries/libinput/default.nix b/pkgs/development/libraries/libinput/default.nix index 63391aa1d73b6..375154ea46ad5 100644 --- a/pkgs/development/libraries/libinput/default.nix +++ b/pkgs/development/libraries/libinput/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja +{ lib, stdenv, fetchurl, pkg-config, meson, ninja , libevdev, mtdev, udev, libwacom , documentationSupport ? false, doxygen, graphviz # Documentation , eventGUISupport ? false, cairo, glib, gtk3 # GUI event viewer support @@ -22,14 +22,11 @@ in stdenv.mkDerivation rec { pname = "libinput"; - version = "1.16.4"; - - src = fetchFromGitLab { - domain = "gitlab.freedesktop.org"; - owner = pname; - repo = pname; - rev = version; - sha256 = "1c81429kh9av9fanxmnjw5rvsjbzcyi7d0dx0gkyq5yysmpmrppi"; + version = "1.18.1"; + + src = fetchurl { + url = "https://www.freedesktop.org/software/libinput/libinput-${version}.tar.xz"; + sha256 = "1jx7y48ym89grjz67jmn80h5j8c36qgwb0h5c703nln2zchl18cw"; }; outputs = [ "bin" "out" "dev" ]; @@ -72,6 +69,9 @@ stdenv.mkDerivation rec { test/symbols-leak-test \ test/check-leftover-udev-rules.sh \ test/helper-copy-and-exec-from-tmp.sh + + # Don't create an empty /etc directory. + sed -i "/install_subdir('libinput', install_dir : dir_etc)/d" meson.build ''; doCheck = testsSupport && stdenv.hostPlatform == stdenv.buildPlatform; |