Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 21 lines 597 B view raw
1{ stdenv, fetchurl, libusb, readline }: 2 3stdenv.mkDerivation rec { 4 name = "libnfc-${version}"; 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 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}