lol
at 24.05-pre 53 lines 908 B view raw
1{ lib 2, stdenv 3, cmake 4, fetchFromGitLab 5, pkg-config 6, meson 7, ninja 8, glib 9, libusb1 10}: 11 12stdenv.mkDerivation rec { 13 pname = "usbredir"; 14 version = "0.13.0"; 15 16 src = fetchFromGitLab { 17 domain = "gitlab.freedesktop.org"; 18 owner = "spice"; 19 repo = "usbredir"; 20 rev = "${pname}-${version}"; 21 sha256 = "sha256-zehf0DkqSSvmatbk/UB1oySjyqiFUYTuIhqb5xKeK7I="; 22 }; 23 24 nativeBuildInputs = [ 25 meson 26 ninja 27 pkg-config 28 ]; 29 30 buildInputs = [ 31 glib 32 ]; 33 34 propagatedBuildInputs = [ 35 libusb1 36 ]; 37 38 mesonFlags = [ 39 "-Dgit_werror=disabled" 40 "-Dtools=enabled" 41 "-Dfuzzing=disabled" 42 ]; 43 44 outputs = [ "out" "dev" ]; 45 46 meta = with lib; { 47 description = "USB traffic redirection protocol"; 48 homepage = "https://www.spice-space.org/usbredir.html"; 49 license = licenses.lgpl21Plus; 50 maintainers = with maintainers; [ offline ]; 51 platforms = platforms.unix; 52 }; 53}