Merge pull request #9172 from joachifm/i2p

i2p: 0.9.20 -> 0.9.21
This commit is contained in:
Arseniy Seroka 2015-08-09 11:56:51 +03:00
commit f433c06ad8
2 changed files with 5 additions and 13 deletions

View File

@ -7,15 +7,7 @@ let
homeDir = "/var/lib/i2p";
in {
###### interface
options.services.i2p = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Enables i2p as a running service upon activation.
'';
};
};
options.services.i2p.enable = mkEnableOption "I2P router";
###### implementation
config = mkIf cfg.enable {

View File

@ -1,10 +1,10 @@
{ stdenv, procps, coreutils, fetchurl, jdk, jre, ant, gettext, which }:
stdenv.mkDerivation rec {
name = "i2p-0.9.20";
name = "i2p-0.9.21";
src = fetchurl {
url = "https://github.com/i2p/i2p.i2p/archive/${name}.tar.gz";
sha256 = "10rynkl9dbnfl67ck3d7wdwz52h7354r7nbwcypsjnng4f1dmj5s";
sha256 = "1cgki9sg0pc4d66rr556lw0682c4mmdvmr6awvsn7ch0rp4zav9f";
};
buildInputs = [ jdk ant gettext which ];
patches = [ ./i2p.patch ];
@ -34,9 +34,9 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
homepage = "https://geti2p.net";
homepage = https://geti2p.net;
description = "Applications and router for I2P, anonymity over the Internet";
maintainers = [ stdenv.lib.maintainers.joelmo ];
maintainers = [ maintainers.joelmo ];
license = licenses.gpl2;
# TODO: support other systems, just copy appropriate lib/wrapper.. to $out
platforms = [ "x86_64-linux" ];