Merge pull request #163554 from bobby285271/libinput
libinput: 1.19.3 → 1.20.0
This commit is contained in:
commit
082d0600eb
1 changed files with 17 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitLab
|
||||
, gitUpdater
|
||||
, pkg-config
|
||||
, meson
|
||||
, ninja
|
||||
|
@ -44,13 +45,16 @@ in
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libinput";
|
||||
version = "1.19.3";
|
||||
version = "1.20.0";
|
||||
|
||||
outputs = [ "bin" "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.freedesktop.org/software/libinput/libinput-${version}.tar.xz";
|
||||
sha256 = "sha256-PK54zN4Z19Dzh+WLxzTU0Xq19kJvVKnotyjJCxe6oGg=";
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
owner = "libinput";
|
||||
repo = "libinput";
|
||||
rev = version;
|
||||
sha256 = "Ey6ItBIrf1POACp2+6R0B4KxJq5V1HoO+y4j6hZSGAE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -113,8 +117,14 @@ stdenv.mkDerivation rec {
|
|||
sed -i "/install_subdir('libinput', install_dir : dir_etc)/d" meson.build
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
libinput-module = nixosTests.libinput;
|
||||
passthru = {
|
||||
tests = {
|
||||
libinput-module = nixosTests.libinput;
|
||||
};
|
||||
updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
patchlevel-unstable = true;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue