14 stdenv.mkDerivation rec {
18 outputs = [ "out" "dev" ];
21 url = "https://git.kernel.org/pub/scm/network/nfc/neard.git/snapshot/neard-${version}.tar.gz";
22 sha256 = "wBPjEVMV4uEdFrXw8cjOmvvNuiaACq2RJF/ZtKXck4s=";
29 python2Packages.wrapPython
37 ] ++ (with python2Packages; [
41 pythonPath = with python2Packages; [
49 enableParallelBuilding = true;
55 "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
59 install -m 0755 tools/snep-send $out/bin/
61 install -D -m644 src/main.conf $out/etc/neard/main.conf
63 # INFO: the config option "--enable-test" would copy the apps to $out/lib/neard/test/ instead
64 install -d $out/lib/neard
65 install -m 0755 test/* $out/lib/neard/
66 wrapPythonProgramsIn $out/lib/neard "$out $pythonPath"
70 description = "Near Field Communication manager";
71 homepage = "https://01.org/linux-nfc";
72 license = licenses.gpl2Only;
73 maintainers = with maintainers; [ ];
74 platforms = platforms.unix;
75 # error: wcwidth-0.2.13 not supported for interpreter python2.7
76 broken = true; # Added 2024-03-17