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
1
-
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, gtest, openssl, zlib }:
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, cmake
5
5
+
, gtest
6
6
+
, openssl
7
7
+
, zlib
8
8
+
}:
2
9
3
10
stdenv.mkDerivation rec {
4
11
pname = "jesec-libtorrent";
5
5
-
version = "0.13.8-r2";
12
12
+
version = "0.13.8-r3";
6
13
7
14
src = fetchFromGitHub {
8
15
owner = "jesec";
9
16
repo = "libtorrent";
10
17
rev = "v${version}";
11
11
-
sha256 = "sha256-eIXVTbVOCRHcxSsLPvIm9F60t2upk5ORpDSOOYqTCJ4=";
18
18
+
hash = "sha256-S3DOKzXkvU+ZJxfrxwLXCVBnepzmiZ+3iiQqz084BEk=";
12
19
};
13
20
14
14
-
patches = [
15
15
-
(fetchpatch {
16
16
-
name = "test-fallback";
17
17
-
url = "https://github.com/jesec/libtorrent/commit/a38205ce06aadc9908478ec3a9c8aefd9be06344.patch";
18
18
-
sha256 = "sha256-2TyQ9zYWZw6bzAfVZzTOQSkfIZnDU8ykgpRAFXscEH0=";
19
19
-
})
21
21
+
nativeBuildInputs = [
22
22
+
cmake
20
23
];
21
21
-
22
22
-
nativeBuildInputs = [ cmake ];
23
23
-
buildInputs = [ openssl zlib ];
24
24
+
buildInputs = [
25
25
+
openssl
26
26
+
zlib
27
27
+
];
24
28
25
29
doCheck = true;
26
30
preCheck = ''
27
31
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD
28
32
'';
29
29
-
checkInputs = [ gtest ];
33
33
+
checkInputs = [
34
34
+
gtest
35
35
+
];
30
36
31
37
meta = with lib; {
32
32
-
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code (jesec's fork)";
33
38
homepage = "https://github.com/jesec/libtorrent";
39
39
+
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code (jesec's fork)";
34
40
license = licenses.gpl2Plus;
35
35
-
maintainers = with maintainers; [ winterqt ];
41
41
+
maintainers = with maintainers; [ winterqt AndersonTorres ];
36
42
platforms = platforms.linux;
37
43
};
38
44
}