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
, boost, gmp, qca-qt5, libgcrypt
4
}:
5
6
-
stdenv.mkDerivation rec {
7
-
name = "libktorrent-2.0.1";
0
0
0
8
9
src = fetchurl {
10
-
url = http://download.kde.org/stable/ktorrent/5.0/libktorrent-2.0.1.tar.xz;
11
-
sha256 = "0hiz4wm8jkymp24r6f1g8svj3pw9qspbjajf512m3j8s3bhrw3f7";
12
};
13
14
outputs = [ "out" "dev" ];
15
16
nativeBuildInputs = [ cmake extra-cmake-modules ];
0
17
buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ];
18
19
propagatedBuildInputs = [ gmp boost ];
20
21
enableParallelBuilding = true;
22
23
-
meta = {
0
0
0
0
24
description = "A BitTorrent library used by KTorrent";
25
-
homepage = https://www.kde.org/applications/internet/ktorrent/;
26
-
maintainers = [ stdenv.lib.maintainers.eelco ];
27
-
platforms = stdenv.lib.platforms.linux;
28
};
29
}
···
3
, boost, gmp, qca-qt5, libgcrypt
4
}:
5
6
+
let
7
+
mainVersion = "5.1";
8
+
9
+
in stdenv.mkDerivation rec {
10
+
name = "libktorrent-2.1";
11
12
src = fetchurl {
13
+
url = "mirror://kde/stable/ktorrent/${mainVersion}/${name}.tar.xz";
14
+
sha256 = "0vz2dwc4xd80q56g6r5bx5wqdl9fxcibxmw2irahqhbkxk7drvry";
15
};
16
17
outputs = [ "out" "dev" ];
18
19
nativeBuildInputs = [ cmake extra-cmake-modules ];
20
+
21
buildInputs = [ karchive kcrash ki18n kio solid qca-qt5 libgcrypt ];
22
23
propagatedBuildInputs = [ gmp boost ];
24
25
enableParallelBuilding = true;
26
27
+
passthru = {
28
+
inherit mainVersion;
29
+
};
30
+
31
+
meta = with stdenv.lib; {
32
description = "A BitTorrent library used by KTorrent";
33
+
homepage = https://www.kde.org/applications/internet/ktorrent/;
34
+
maintainers = with maintainers; [ eelco ];
35
+
platforms = platforms.linux;
36
};
37
}