nixpkgs/pkgs/development/libraries/libevdev/default.nix
2021-12-25 17:04:35 -05:00

22 lines
609 B
Nix

{ lib, stdenv, fetchurl, fetchpatch, python3 }:
stdenv.mkDerivation rec {
pname = "libevdev";
version = "1.12.0";
src = fetchurl {
url = "https://www.freedesktop.org/software/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-L3KeNIBpV5H5SC6DiL1yNAK4nw6vEYBXu96jzs7psjc=";
};
nativeBuildInputs = [ python3 ];
meta = with 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 ];
};
}