Added aria - metalink/http/ftp/bittorrent supporting downloader
svn path=/nixpkgs/trunk/; revision=12175
This commit is contained in:
parent
a64c9e4b8f
commit
203f2f8809
21
pkgs/tools/networking/aria/default.nix
Normal file
21
pkgs/tools/networking/aria/default.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
@ -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;
|
||||||
};
|
};
|
||||||
|
@ -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 */;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user