nixpkgs/pkgs/development/libraries/libktorrent/default.nix
Yury G. Kudryashov 61dd03faa8 Upgrade libktorrent
svn path=/nixpkgs/trunk/; revision=23753
2010-09-13 14:22:56 +00:00

24 lines
650 B
Nix

{ stdenv, fetchurl, kdelibs, cmake, gmp, qca2, boost, gettext, qt4, automoc4,
perl }:
stdenv.mkDerivation rec {
name = pname + "-" + version;
pname = "libktorrent";
version = "1.0.3";
src = fetchurl {
url = "${meta.homepage}/downloads/4${builtins.substring 1
(builtins.stringLength version) version}/${name}.tar.bz2";
sha256 = "1yfayzbmi7im0pf4g7awn8lqianpr55xwbsldz7lyj9lc1a3xcgs";
};
# TODO: xfs.h
propagatedBuildInputs = [ kdelibs gmp boost qt4 ];
buildInputs = [ cmake automoc4 qca2 gettext perl ];
meta = {
description = "A bittorrent library used in ktorrent";
homepage = http://ktorrent.org;
};
}