mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
25 lines
644 B
Nix
25 lines
644 B
Nix
{ stdenv, fetchurl, boost, cryptopp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "i2pd-${version}";
|
|
version = "0.7.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz";
|
|
sha256 = "1fic1jxdr48b0jfaamwbfkldbfi7awfbrqga2k7gvpncq32v0aj6";
|
|
};
|
|
|
|
buildInputs = [ boost cryptopp ];
|
|
installPhase = ''
|
|
install -D i2p $out/bin/i2p
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://track.privacysolutions.no/projects/i2pd";
|
|
description = "Minimal I2P router written in C++";
|
|
licenses = licenses.gpl2;
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
platform = platforms.linux;
|
|
};
|
|
} |