mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
Add libktorrent
svn path=/nixpkgs/trunk/; revision=23186
This commit is contained in:
parent
737262c779
commit
0ee0fb9387
19
pkgs/development/libraries/libktorrent/default.nix
Normal file
19
pkgs/development/libraries/libktorrent/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchurl, kdelibs, cmake, gmp, qca2, boost, gettext, qt47, automoc4,
|
||||
perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libktorrent-1.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/downloads/4.0.2/${name}.tar.bz2";
|
||||
sha256 = "11kh1mcijwzr2kf7hpxadggh346kdb5jy8rnmawhi9nc0i7wyjlw";
|
||||
};
|
||||
|
||||
# TODO: xfs.h
|
||||
buildInputs = [ cmake kdelibs gmp qca2 boost gettext qt47 automoc4 perl ];
|
||||
|
||||
meta = {
|
||||
description = "A bittorrent library used in ktorrent";
|
||||
homepage = http://ktorrent.org;
|
||||
};
|
||||
}
|
@ -3243,6 +3243,8 @@ let
|
||||
useGTK = getPkgConfig "libiodbc" "gtk" false;
|
||||
};
|
||||
|
||||
libktorrent = newScope kde45 ../development/libraries/libktorrent { };
|
||||
|
||||
liblqr1 = callPackage ../development/libraries/liblqr-1 {
|
||||
inherit (gnome) glib;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user