libevdev: fix aarch64 support
This commit is contained in:
parent
d9f416313a
commit
f83c9a7561
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, python3 }:
|
{ stdenv, fetchurl, fetchpatch, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libevdev";
|
pname = "libevdev";
|
||||||
@ -9,6 +9,15 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "17pb5375njb1r05xmk0r57a2j986ihglh2n5nqcylbag4rj8mqg7";
|
sha256 = "17pb5375njb1r05xmk0r57a2j986ihglh2n5nqcylbag4rj8mqg7";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix libevdev-python tests on aarch64
|
||||||
|
# https://gitlab.freedesktop.org/libevdev/libevdev/merge_requests/63
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.freedesktop.org/libevdev/libevdev/commit/66113fe84f62bab3a672a336eb10b255d2aa5ce7.patch";
|
||||||
|
sha256 = "gZKr/P+/OqU69IGslP8CQlcGuyzA/ulcm+nGwHdis58=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ python3 ];
|
nativeBuildInputs = [ python3 ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user