depot/pkgs/by-name/li/libevdev/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
596 B
Nix
Raw Normal View History

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