mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
21691b47d7
svn path=/nixpkgs/trunk/; revision=27823
24 lines
656 B
Nix
24 lines
656 B
Nix
{ stdenv, fetchurl, pkgconfig, openssl, libsigcxx }:
|
|
|
|
let
|
|
version = "0.12.9";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "libtorrent-${version}";
|
|
|
|
src = fetchurl {
|
|
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 ];
|
|
};
|
|
}
|