summary refs log tree commit diff
path: root/pkgs/applications/misc/d4x/default.nix
blob: ce53045a15a948079ef8eace30e8220526b03762 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, gtk, glib, pkgconfig, openssl, boost }:

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 = stdenv.lib.licenses.perl5;
  };
}