1{ stdenv, fetchFromGitHub, boost, cryptopp }:
2
3stdenv.mkDerivation rec {
4
5 name = pname + "-" + version;
6 pname = "i2pd";
7 version = "0.10.0";
8
9 src = fetchFromGitHub {
10 owner = "PurpleI2P";
11 repo = pname;
12 rev = version;
13 sha256 = "11w62rc326rhj2xh06307ngx0fai30qny8ml6n5lrx2y1dzjfxd1";
14 };
15
16 buildInputs = [ boost cryptopp ];
17 installPhase = ''
18 install -D i2p $out/bin/i2p
19 '';
20
21 meta = with stdenv.lib; {
22 homepage = "https://track.privacysolutions.no/projects/i2pd";
23 description = "Minimal I2P router written in C++";
24 license = licenses.gpl2;
25 maintainers = with maintainers; [ edwtjo ];
26 platforms = platforms.linux;
27 };
28}