mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
82d07ebaa2
svn path=/nixpkgs/trunk/; revision=23767
24 lines
665 B
Nix
24 lines
665 B
Nix
{ stdenv, fetchurl, kdelibs, cmake, gmp, qca2, boost, gettext, qt4, automoc4,
|
|
perl, phonon }:
|
|
|
|
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 phonon ];
|
|
buildInputs = [ cmake automoc4 qca2 gettext perl ];
|
|
|
|
meta = {
|
|
description = "A bittorrent library used in ktorrent";
|
|
homepage = http://ktorrent.org;
|
|
};
|
|
}
|