2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, glib, readline, makeWrapper }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2022-01-13 20:06:32 +00:00
|
|
|
pname = "neardal";
|
|
|
|
version = "unstable-0.7-post-git-2015-09-30";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "connectivity";
|
|
|
|
repo = "neardal";
|
|
|
|
rev = "5b1c8b5c2c45c10f11cee12fbcb397f8953850d7";
|
|
|
|
sha256 = "12qwg7qiw2wfpaxfg2fjkmj5lls0g33xp6w433g8bnkvwlq4s29g";
|
|
|
|
};
|
|
|
|
|
2022-04-03 18:54:34 +00:00
|
|
|
nativeBuildInputs = [ pkg-config makeWrapper autoconf automake ];
|
|
|
|
buildInputs = [ glib readline ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2022-11-21 17:40:18 +00:00
|
|
|
broken = true; # 2022-11-13
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "C APIs to exchange datas with the NFC daemon 'Neard'";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
homepage = "https://01.org/linux-nfc";
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|