1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/applications/misc/d4x/default.nix
Yury G. Kudryashov 5bca69ac34 Nix-expr style review
Unneded args.something replaced with
args: with args;
line. After this line args is the only place where we can recieve variables from.

Also removed several
buildInputs = [];
lines.

svn path=/nixpkgs/trunk/; revision=10415
2008-01-30 17:20:48 +00:00

23 lines
579 B
Nix

args: with args;
stdenv.mkDerivation {
name = "d4x-2.5.7.1";
inherit boost;
src = fetchurl {
url = http://d4x.krasu.ru/files/d4x-2.5.7.1.tar.bz2;
sha256 = "1i1jj02bxynisqapv31481sz9jpfp3f023ky47spz1v1wlwbs13m";
};
configurePhase = "./configure --prefix=\$out "
+ " --with-boost-libdir=\$boost/lib"
+ " --with-boost-includedir=\$boost/include";
buildInputs = [gtk glib pkgconfig openssl boost];
meta = {
description = "graphical download manager";
homepage = http://www.krasu.ru/soft/chuchelo/;
license = "Artistic";
};
}