From 2dfe7d0513db9c0d88fca289135e9f15a81b8061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edward=20Tj=C3=B6rnhammar?= Date: Tue, 7 Jul 2015 09:47:22 +0200 Subject: [PATCH] i2pd: 0.9.0 -> 0.10.0 --- pkgs/tools/networking/i2pd/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/networking/i2pd/default.nix b/pkgs/tools/networking/i2pd/default.nix index f1b32ddb7e7b..dd28345a48d2 100644 --- a/pkgs/tools/networking/i2pd/default.nix +++ b/pkgs/tools/networking/i2pd/default.nix @@ -1,14 +1,16 @@ -{ stdenv, fetchurl, boost, cryptopp }: +{ stdenv, fetchFromGitHub, boost, cryptopp }: stdenv.mkDerivation rec { - name = "i2pd-${version}"; - version = "0.9.0"; + name = pname + "-" + version; + pname = "i2pd"; + version = "0.10.0"; - src = fetchurl { - name = "i2pd-src-${version}.tar.gz"; - url = "https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz"; - sha256 = "1rcf4wc34g2alva9jzj6bz0f88g2f5v1w4418b6lp6chvqi7fhc7"; + src = fetchFromGitHub { + owner = "PurpleI2P"; + repo = pname; + rev = version; + sha256 = "11w62rc326rhj2xh06307ngx0fai30qny8ml6n5lrx2y1dzjfxd1"; }; buildInputs = [ boost cryptopp ];