2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libusb-compat-0_1, readline }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "libnfc";
|
|
|
|
version = "1.7.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://dl.bintray.com/nfc-tools/sources/libnfc-1.7.1.tar.bz2";
|
|
|
|
sha256 = "0wj0iwwcpmpalyk61aa7yc6i4p9hgdajkrgnlswgk0vnwbc78pll";
|
|
|
|
};
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
buildInputs = [ libusb-compat-0_1 readline ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
configureFlags = [ "sysconfdir=/etc" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Open source library libnfc for Near Field Communication";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
homepage = "https://github.com/nfc-tools/libnfc";
|
|
|
|
maintainers = with maintainers; [offline];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|