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