at 23.05-pre 51 lines 1.1 kB view raw
1{ lib, stdenv, fetchFromGitLab, autoconf-archive, gettext, libtool, intltool, autoconf, automake 2, glib, gtk3, gtk-doc, libgudev, pkg-config, systemd }: 3 4stdenv.mkDerivation rec { 5 pname = "iio-sensor-proxy"; 6 version = "3.0"; 7 8 src = fetchFromGitLab { 9 domain = "gitlab.freedesktop.org"; 10 owner = "hadess"; 11 repo = pname; 12 rev = version; 13 sha256 = "0ngbz1vkbjci3ml6p47jh6c6caipvbkm8mxrc8ayr6vc2p9l1g49"; 14 }; 15 16 configurePhase = '' 17 runHook preConfigure 18 19 ./autogen.sh --prefix=$out \ 20 --with-udevrulesdir=$out/lib/udev/rules.d \ 21 --with-systemdsystemunitdir=$out/lib/systemd/system 22 23 runHook postConfigure 24 ''; 25 26 buildInputs = [ 27 glib 28 gtk3 29 gtk-doc 30 libgudev 31 systemd 32 ]; 33 34 nativeBuildInputs = [ 35 autoconf 36 autoconf-archive 37 automake 38 gettext 39 intltool 40 libtool 41 pkg-config 42 ]; 43 44 meta = with lib; { 45 description = "Proxy for sending IIO sensor data to D-Bus"; 46 homepage = "https://gitlab.freedesktop.org/hadess/iio-sensor-proxy"; 47 license = licenses.gpl3 ; 48 maintainers = with maintainers; [ peterhoeg ]; 49 platforms = platforms.linux; 50 }; 51}