mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
52 lines
1.1 KiB
Nix
52 lines
1.1 KiB
Nix
{ lib, stdenv, fetchFromGitHub, autoconf-archive, gettext, libtool, intltool, autoconf, automake
|
|
, glib, gtk3, gtk-doc, libgudev, pkg-config, systemd }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "iio-sensor-proxy";
|
|
version = "2.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hadess";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "07rzm1z2p6lh4iv5pyp0p2x5805m9gsh19kcsjls3fi25p3a2c00";
|
|
};
|
|
|
|
configurePhase = ''
|
|
runHook preConfigure
|
|
|
|
./autogen.sh --prefix=$out \
|
|
--with-udevrulesdir=$out/lib/udev/rules.d \
|
|
--with-systemdsystemunitdir=$out/lib/systemd/system
|
|
|
|
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://github.com/hadess/iio-sensor-proxy";
|
|
license = licenses.gpl3 ;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
platforms = platforms.linux;
|
|
inherit version;
|
|
};
|
|
}
|