1 { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, glib, readline, makeWrapper }:
5 version = "unstable-0.7-post-git-2015-09-30";
7 src = fetchFromGitHub {
8 owner = "connectivity";
10 rev = "5b1c8b5c2c45c10f11cee12fbcb397f8953850d7";
11 sha256 = "12qwg7qiw2wfpaxfg2fjkmj5lls0g33xp6w433g8bnkvwlq4s29g";
14 nativeBuildInputs = [ pkg-config makeWrapper autoconf automake ];
15 buildInputs = [ glib readline ];
18 substituteInPlace "ncl/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS"
19 substituteInPlace "demo/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS"
23 configureFlags = [ "--disable-dependency-tracking" "--disable-traces" ];
26 broken = (stdenv.isLinux && stdenv.isAarch64);
27 description = "C APIs to exchange datas with the NFC daemon 'Neard'";
28 license = licenses.lgpl2;
29 homepage = "https://01.org/linux-nfc";
30 maintainers = with maintainers; [ ];
31 platforms = platforms.linux;