Added aria - metalink/http/ftp/bittorrent supporting downloader

svn path=/nixpkgs/trunk/; revision=12175
This commit is contained in:
Michael Raskin 2008-06-21 20:53:52 +00:00
parent a64c9e4b8f
commit 203f2f8809
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,21 @@
args : with args;
let version="0.14.0"; in
rec {
src = /* Here a fetchurl expression goes */
fetchurl {
url = "http://downloads.sourceforge.net/aria2/aria2c-${version}.tar.bz2";
sha256 = "0d6vpy7f4228byahsg4dlhalfkbscx941klhdlxd0y5c3mxxwkfr";
};
buildInputs = [];
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "aria-" + version;
meta = {
description = "aria - multiprotocol DL manager";
};
}

View File

@ -384,6 +384,9 @@ let pkgs = rec {
inherit fetchurl stdenv zlib wxGTK; inherit fetchurl stdenv zlib wxGTK;
}; };
aria = builderDefsPackage (import ../tools/networking/aria) {
} null;
at = import ../tools/system/at { at = import ../tools/system/at {
inherit fetchurl stdenv bison flex pam ssmtp; inherit fetchurl stdenv bison flex pam ssmtp;
}; };

View File

@ -1,4 +1,5 @@
args : with args; args : with args;
let version = lib.getAttr ["version"] "" args; in
rec { rec {
src = /* Here a fetchurl expression goes */; src = /* Here a fetchurl expression goes */;