mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
202e0a195f
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/w1kd60p20ps8v5pjicl3z9s6y4fmkgy0-iio-sensor-proxy-2.4/bin/iio-sensor-proxy -h` got 0 exit code - ran `/nix/store/w1kd60p20ps8v5pjicl3z9s6y4fmkgy0-iio-sensor-proxy-2.4/bin/iio-sensor-proxy --help` got 0 exit code - ran `/nix/store/w1kd60p20ps8v5pjicl3z9s6y4fmkgy0-iio-sensor-proxy-2.4/bin/iio-sensor-proxy help` got 0 exit code - found 2.4 with grep in /nix/store/w1kd60p20ps8v5pjicl3z9s6y4fmkgy0-iio-sensor-proxy-2.4 - found 2.4 in filename of file in /nix/store/w1kd60p20ps8v5pjicl3z9s6y4fmkgy0-iio-sensor-proxy-2.4 cc "@peterhoeg"
48 lines
1.1 KiB
Nix
48 lines
1.1 KiB
Nix
{ stdenv, fetchFromGitHub, autoconf-archive, gettext, libtool, intltool, autoconf, automake
|
|
, glib, gtk3, gtk-doc, libgudev, pkgconfig, systemd }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "iio-sensor-proxy-${version}";
|
|
version = "2.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hadess";
|
|
repo = "iio-sensor-proxy";
|
|
rev = version;
|
|
sha256 = "1c8izq73c00gvv0jc6zby5hcircs4cb16a1d3ivp1i1iflknj46n";
|
|
};
|
|
|
|
configurePhase = ''
|
|
./autogen.sh --prefix=$out \
|
|
--with-udevrulesdir=$out/lib/udev/rules.d \
|
|
--with-systemdsystemunitdir=$out/lib/systemd/system
|
|
'';
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk3
|
|
gtk-doc
|
|
libgudev
|
|
systemd
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
autoconf
|
|
autoconf-archive
|
|
automake
|
|
gettext
|
|
intltool
|
|
libtool
|
|
pkgconfig
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Proxy for sending IIO sensor data to D-Bus";
|
|
homepage = https://github.com/hadess/iio-sensor-proxy;
|
|
license = licenses.gpl3 ;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
platforms = platforms.linux;
|
|
inherit version;
|
|
};
|
|
}
|