2019-12-14 13:10:15 +00:00
|
|
|
{ stdenv, fetchurl, python3 }:
|
2014-07-22 16:37:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-29 20:28:01 +01:00
|
|
|
pname = "libevdev";
|
2020-03-05 08:53:05 +00:00
|
|
|
version = "1.9.0";
|
2014-07-22 16:37:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-29 20:28:01 +01:00
|
|
|
url = "https://www.freedesktop.org/software/${pname}/${pname}-${version}.tar.xz";
|
2020-03-05 08:53:05 +00:00
|
|
|
sha256 = "17pb5375njb1r05xmk0r57a2j986ihglh2n5nqcylbag4rj8mqg7";
|
2014-07-22 16:37:13 +01:00
|
|
|
};
|
|
|
|
|
2020-02-25 00:59:03 +00:00
|
|
|
nativeBuildInputs = [ python3 ];
|
2014-07-22 16:37:13 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Wrapper library for evdev devices";
|
2020-03-05 08:53:05 +00:00
|
|
|
homepage = "http://www.freedesktop.org/software/libevdev/doc/latest/index.html";
|
2014-07-22 16:37:13 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.amorsillo ];
|
|
|
|
};
|
|
|
|
}
|