nixpkgs/pkgs/development/libraries/libevdev/default.nix

22 lines
609 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, fetchpatch, python3 }:
stdenv.mkDerivation rec {
2019-08-29 19:28:01 +00:00
pname = "libevdev";
2021-02-04 21:19:25 +00:00
version = "1.11.0";
src = fetchurl {
2019-08-29 19:28:01 +00:00
url = "https://www.freedesktop.org/software/${pname}/${pname}-${version}.tar.xz";
2021-02-04 21:19:25 +00:00
sha256 = "sha256-Y/TqFImFihCQgOC0C9Q+TgkDoeEuqIjVgduMSVdHwtA=";
};
2020-02-25 00:59:03 +00:00
nativeBuildInputs = [ python3 ];
meta = with 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";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.amorsillo ];
};
}