Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 611 B view raw
1{ stdenv, fetchurl, fetchpatch, python3 }: 2 3stdenv.mkDerivation rec { 4 pname = "libevdev"; 5 version = "1.9.1"; 6 7 src = fetchurl { 8 url = "https://www.freedesktop.org/software/${pname}/${pname}-${version}.tar.xz"; 9 sha256 = "1jvsphdrs1i54ccjcn6ll26jy42am7h28lbsvwa6pmxgqm43qq7m"; 10 }; 11 12 nativeBuildInputs = [ python3 ]; 13 14 meta = with stdenv.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}