Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, fetchpatch, python3 }: 2 3stdenv.mkDerivation rec { 4 pname = "libevdev"; 5 version = "1.13.1"; 6 7 src = fetchurl { 8 url = "https://www.freedesktop.org/software/${pname}/${pname}-${version}.tar.xz"; 9 sha256 = "sha256-Bqd78qxcmTMFiCvBZBAX9b7BWS1tG2R4e61JKrNPLzY="; 10 }; 11 12 nativeBuildInputs = [ python3 ]; 13 14 meta = with lib; { 15 description = "Wrapper library for evdev devices"; 16 homepage = "http://www.freedesktop.org/software/libevdev/doc/latest/index.html"; 17 license = licenses.mit; 18 platforms = platforms.linux; 19 maintainers = [ maintainers.amorsillo ]; 20 }; 21}