blob: d2d0e082eba3d797e5393987343c40e82e2216f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
lib,
stdenv,
fetchurl,
pkg-config,
python3,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libevdev";
version = "1.13.6";
src = fetchurl {
url = "https://www.freedesktop.org/software/libevdev/libevdev-${finalAttrs.version}.tar.xz";
hash = "sha256-c/IV7MvYIz9BRzesBryiaH5nxEuX0tdXYJGqlxhVERA=";
};
nativeBuildInputs = [
pkg-config
python3
];
meta = {
description = "Wrapper library for evdev devices";
homepage = "https://www.freedesktop.org/software/libevdev/doc/latest/index.html";
license = lib.licenses.mit;
platforms = lib.platforms.linux ++ lib.platforms.freebsd;
};
})
|