nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, libusb-compat-0_1, readline }:
2
3stdenv.mkDerivation {
4 pname = "libnfc";
5 version = "1.7.1";
6
7 src = fetchurl {
8 url = "http://dl.bintray.com/nfc-tools/sources/libnfc-1.7.1.tar.bz2";
9 sha256 = "0wj0iwwcpmpalyk61aa7yc6i4p9hgdajkrgnlswgk0vnwbc78pll";
10 };
11
12 buildInputs = [ libusb-compat-0_1 readline ];
13
14 meta = with stdenv.lib; {
15 description = "Open source library libnfc for Near Field Communication";
16 license = licenses.gpl3;
17 homepage = "https://github.com/nfc-tools/libnfc";
18 maintainers = with maintainers; [offline];
19 platforms = platforms.unix;
20 };
21}