nixpkgs/pkgs/os-specific/linux/iio-sensor-proxy/default.nix

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

52 lines
1.1 KiB
Nix
Raw Normal View History

2021-06-06 18:34:00 +00:00
{ lib, stdenv, fetchFromGitLab, autoconf-archive, gettext, libtool, intltool, autoconf, automake
, glib, gtk3, gtk-doc, libgudev, pkg-config, systemd }:
stdenv.mkDerivation rec {
pname = "iio-sensor-proxy";
2021-06-06 18:34:00 +00:00
version = "3.0";
2021-06-06 18:34:00 +00:00
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "hadess";
repo = pname;
rev = version;
2021-06-06 18:34:00 +00:00
sha256 = "0ngbz1vkbjci3ml6p47jh6c6caipvbkm8mxrc8ayr6vc2p9l1g49";
};
configurePhase = ''
2018-10-11 12:22:25 +00:00
runHook preConfigure
./autogen.sh --prefix=$out \
--with-udevrulesdir=$out/lib/udev/rules.d \
--with-systemdsystemunitdir=$out/lib/systemd/system
2018-10-11 12:22:25 +00:00
runHook postConfigure
'';
buildInputs = [
glib
gtk3
gtk-doc
libgudev
systemd
];
nativeBuildInputs = [
autoconf
autoconf-archive
automake
gettext
intltool
libtool
pkg-config
];
meta = with lib; {
description = "Proxy for sending IIO sensor data to D-Bus";
homepage = "https://gitlab.freedesktop.org/hadess/iio-sensor-proxy";
license = licenses.gpl3 ;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.linux;
};
}