From 21691b47d70cbdcb5ff5a97b184b0025fe066fdc Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 18 Jul 2011 14:34:33 +0000 Subject: [PATCH] libtorrent: updated to version 0.12.9 svn path=/nixpkgs/trunk/; revision=27823 --- .../networking/p2p/libtorrent/default.nix | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/networking/p2p/libtorrent/default.nix b/pkgs/tools/networking/p2p/libtorrent/default.nix index b1456c0666e1..e702a406aad3 100644 --- a/pkgs/tools/networking/p2p/libtorrent/default.nix +++ b/pkgs/tools/networking/p2p/libtorrent/default.nix @@ -1,19 +1,23 @@ { stdenv, fetchurl, pkgconfig, openssl, libsigcxx }: -stdenv.mkDerivation rec { - pname = "libtorrent"; - version = "0.12.6"; +let + version = "0.12.9"; +in +stdenv.mkDerivation { + name = "libtorrent-${version}"; - name = "${pname}-${version}"; - src = fetchurl { - url = "http://libtorrent.rakshasa.no/downloads/${name}.tar.gz"; - sha256 = "0abisz3jgfv4zmyzbsknzvz9hwakxxpdgfl33qk0aslnchqz60kv"; + url = "http://libtorrent.rakshasa.no/downloads/libtorrent-${version}.tar.gz"; + sha256 = "25dc9e8dd45d070f447e599bef08ef0ca421bac6e7f55e608dcd19360594af64"; }; buildInputs = [ pkgconfig openssl libsigcxx ]; - + meta = { + homepage = "http://libtorrent.rakshasa.no/"; description = "A BitTorrent library written in C++ for *nix, with a focus on high performance and good code"; + + platforms = stdenv.lib.platforms.unix; + maintainers = [ stdenv.lib.maintainers.simons ]; }; }