nixpkgs/pkgs/applications/networking/p2p/ktorrent/default.nix

33 lines
858 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, automoc4, libktorrent, taglib, kdepimlibs, boost
, gettext, kdebase_workspace, qt4, kdelibs, phonon }:
stdenv.mkDerivation rec {
name = pname + "-" + version;
pname = "ktorrent";
2014-03-15 19:22:03 +00:00
version = "4.3.1";
src = fetchurl {
url = "${meta.homepage}/downloads/${version}/${name}.tar.bz2";
2014-03-15 19:22:03 +00:00
sha256 = "66094f6833347afb0c49e332f0ec15ec48db652cbe66476840846ffd5ca0e4a1";
};
2012-08-08 09:47:10 +00:00
patches = [ ./find-workspace.diff ];
KDEDIRS = libktorrent;
buildInputs =
[ cmake qt4 kdelibs automoc4 phonon libktorrent boost taglib kdepimlibs
gettext kdebase_workspace
];
enableParallelBuilding = true;
meta = {
description = "KDE integrated BtTorrent client";
2014-03-15 20:31:58 +00:00
homepage = http://ktorrent.pwsp.net;
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
inherit (libktorrent.meta) platforms;
};
}