1 { lib, fetchFromGitHub, python3Packages }:
3 python3Packages.buildPythonApplication rec {
8 src = fetchFromGitHub {
9 owner = "HelloZeroNet";
12 sha256 = "04prgicm0yjh2klcxdgwx1mvlsxxi2bdkzfcvysvixbgq20wjvdk";
15 propagatedBuildInputs = with python3Packages; [
16 gevent msgpack base58 merkletools rsa pysocks pyasn1 websocket-client
17 gevent-websocket rencode python-bitcoinlib maxminddb pyopenssl
21 ${python3Packages.python.pythonOnBuildForHost.interpreter} -O -m compileall .
26 cp -r plugins src tools *.py $out/share/
30 makeWrapper "$out/share/zeronet.py" "$out/bin/zeronet" \
31 --set PYTHONPATH "$PYTHONPATH" \
32 --set PATH ${python3Packages.python}/bin
36 description = "Decentralized websites using Bitcoin crypto and BitTorrent network";
37 homepage = "https://zeronet.io/";
38 license = licenses.gpl2;
39 maintainers = with maintainers; [ fgaz ];
40 knownVulnerabilities = [ ''
41 Unmaintained. Probable XSS/code injection vulnerability.
42 Switching to the maintained zeronet-conservancy package is recommended