tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
jesec-rtorrent.libtorrent: 0.13.8-r2 -> 0.13.8-r3
AndersonTorres
4 years ago
24414aec
07e7d46e
+21
-15
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
p2p
jesec-rtorrent
libtorrent.nix
+21
-15
pkgs/tools/networking/p2p/jesec-rtorrent/libtorrent.nix
···
1
-
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, gtest, openssl, zlib }:
0
0
0
0
0
0
0
2
3
stdenv.mkDerivation rec {
4
pname = "jesec-libtorrent";
5
-
version = "0.13.8-r2";
6
7
src = fetchFromGitHub {
8
owner = "jesec";
9
repo = "libtorrent";
10
rev = "v${version}";
11
-
sha256 = "sha256-eIXVTbVOCRHcxSsLPvIm9F60t2upk5ORpDSOOYqTCJ4=";
12
};
13
14
-
patches = [
15
-
(fetchpatch {
16
-
name = "test-fallback";
17
-
url = "https://github.com/jesec/libtorrent/commit/a38205ce06aadc9908478ec3a9c8aefd9be06344.patch";
18
-
sha256 = "sha256-2TyQ9zYWZw6bzAfVZzTOQSkfIZnDU8ykgpRAFXscEH0=";
19
-
})
20
];
21
-
22
-
nativeBuildInputs = [ cmake ];
23
-
buildInputs = [ openssl zlib ];
0
24
25
doCheck = true;
26
preCheck = ''
27
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD
28
'';
29
-
checkInputs = [ gtest ];
0
0
30
31
meta = with lib; {
32
-
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code (jesec's fork)";
33
homepage = "https://github.com/jesec/libtorrent";
0
34
license = licenses.gpl2Plus;
35
-
maintainers = with maintainers; [ winterqt ];
36
platforms = platforms.linux;
37
};
38
}
···
1
+
{ lib
2
+
, stdenv
3
+
, fetchFromGitHub
4
+
, cmake
5
+
, gtest
6
+
, openssl
7
+
, zlib
8
+
}:
9
10
stdenv.mkDerivation rec {
11
pname = "jesec-libtorrent";
12
+
version = "0.13.8-r3";
13
14
src = fetchFromGitHub {
15
owner = "jesec";
16
repo = "libtorrent";
17
rev = "v${version}";
18
+
hash = "sha256-S3DOKzXkvU+ZJxfrxwLXCVBnepzmiZ+3iiQqz084BEk=";
19
};
20
21
+
nativeBuildInputs = [
22
+
cmake
0
0
0
0
23
];
24
+
buildInputs = [
25
+
openssl
26
+
zlib
27
+
];
28
29
doCheck = true;
30
preCheck = ''
31
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD
32
'';
33
+
checkInputs = [
34
+
gtest
35
+
];
36
37
meta = with lib; {
0
38
homepage = "https://github.com/jesec/libtorrent";
39
+
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code (jesec's fork)";
40
license = licenses.gpl2Plus;
41
+
maintainers = with maintainers; [ winterqt AndersonTorres ];
42
platforms = platforms.linux;
43
};
44
}