nixpkgs/pkgs/tools/networking/p2p/libtorrent/default.nix

28 lines
764 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig
, libtool, autoconf, automake, cppunit
, openssl, libsigcxx, zlib }:
2015-09-14 18:48:12 +00:00
stdenv.mkDerivation rec {
name = "libtorrent-${version}";
2015-09-14 18:48:12 +00:00
version = "0.13.6";
src = fetchFromGitHub rec {
owner = "rakshasa";
repo = "libtorrent";
rev = "${version}";
sha256 = "1rvrxgb131snv9r6ksgzmd74rd9z7q46bhky0zazz7dwqqywffcp";
};
buildInputs = [ pkgconfig libtool autoconf automake cppunit openssl libsigcxx zlib ];
preConfigure = "./autogen.sh";
2015-09-14 18:48:12 +00:00
meta = with stdenv.lib; {
homepage = src.homepage;
2015-09-14 18:48:12 +00:00
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code";
2015-09-14 18:48:12 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ simons ebzzry codyopel ];
};
}