nixpkgs/pkgs/development/libraries/libevdev/default.nix
2020-11-18 15:49:52 +01:00

22 lines
612 B
Nix

{ stdenv, fetchurl, fetchpatch, python3 }:
stdenv.mkDerivation rec {
pname = "libevdev";
version = "1.10.0";
src = fetchurl {
url = "https://www.freedesktop.org/software/${pname}/${pname}-${version}.tar.xz";
sha256 = "0jidjv78lay8kl3yigwhx9fii908sk7gn9nfd2ny12ql5ipc48im";
};
nativeBuildInputs = [ python3 ];
meta = with stdenv.lib; {
description = "Wrapper library for evdev devices";
homepage = "http://www.freedesktop.org/software/libevdev/doc/latest/index.html";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.amorsillo ];
};
}