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.
32 lines
1.0 KiB
Nix
32 lines
1.0 KiB
Nix
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, glib, readline, makeWrapper }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "neardal-0.7-post-git-20150930";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "connectivity";
|
|
repo = "neardal";
|
|
rev = "5b1c8b5c2c45c10f11cee12fbcb397f8953850d7";
|
|
sha256 = "12qwg7qiw2wfpaxfg2fjkmj5lls0g33xp6w433g8bnkvwlq4s29g";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ autoconf automake libtool glib readline makeWrapper ];
|
|
|
|
preConfigure = ''
|
|
substituteInPlace "ncl/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS"
|
|
substituteInPlace "demo/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS"
|
|
sh autogen.sh
|
|
'';
|
|
|
|
configureFlags = [ "--disable-dependency-tracking" "--disable-traces" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C APIs to exchange datas with the NFC daemon 'Neard'";
|
|
license = licenses.lgpl2;
|
|
homepage = "https://01.org/linux-nfc";
|
|
maintainers = with maintainers; [ tstrobel ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|