tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libktorrent: 2.0.1 -> 2.1
Peter Hoeg
8 years ago
82e0b910
799435b7
+16
-8
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
libktorrent
default.nix
+16
-8
pkgs/development/libraries/libktorrent/default.nix
···
3
3
, boost, gmp, qca-qt5, libgcrypt
4
4
}:
5
5
6
6
-
stdenv.mkDerivation rec {
7
7
-
name = "libktorrent-2.0.1";
6
6
+
let
7
7
+
mainVersion = "5.1";
8
8
+
9
9
+
in stdenv.mkDerivation rec {
10
10
+
name = "libktorrent-2.1";
8
11
9
12
src = fetchurl {
10
10
-
url = http://download.kde.org/stable/ktorrent/5.0/libktorrent-2.0.1.tar.xz;
11
11
-
sha256 = "0hiz4wm8jkymp24r6f1g8svj3pw9qspbjajf512m3j8s3bhrw3f7";
13
13
+
url = "mirror://kde/stable/ktorrent/${mainVersion}/${name}.tar.xz";
14
14
+
sha256 = "0vz2dwc4xd80q56g6r5bx5wqdl9fxcibxmw2irahqhbkxk7drvry";
12
15
};
13
16
14
17
outputs = [ "out" "dev" ];
15
18
16
19
nativeBuildInputs = [ cmake extra-cmake-modules ];
20
20
+
17
21
buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ];
18
22
19
23
propagatedBuildInputs = [ gmp boost ];
20
24
21
25
enableParallelBuilding = true;
22
26
23
23
-
meta = {
27
27
+
passthru = {
28
28
+
inherit mainVersion;
29
29
+
};
30
30
+
31
31
+
meta = with stdenv.lib; {
24
32
description = "A BitTorrent library used by KTorrent";
25
25
-
homepage = https://www.kde.org/applications/internet/ktorrent/;
26
26
-
maintainers = [ stdenv.lib.maintainers.eelco ];
27
27
-
platforms = stdenv.lib.platforms.linux;
33
33
+
homepage = https://www.kde.org/applications/internet/ktorrent/;
34
34
+
maintainers = with maintainers; [ eelco ];
35
35
+
platforms = platforms.linux;
28
36
};
29
37
}