1{stdenv, fetchurl, bzip2, zlib, newt, openssl, pkgconfig, slang
2, automake, autoconf, libtool, gettext
3}:
4stdenv.mkDerivation {
5 name = "partimage-0.6.9";
6 enableParallelBuilding = true;
7
8 src = fetchurl {
9 url = mirror://sourceforge/partimage/partimage-0.6.9.tar.bz2;
10 sha256 = "0db6xiphk6xnlpbxraiy31c5xzj0ql6k4rfkmqzh665yyj0nqfkm";
11 };
12 configureFlags = "--with-ssl-headers=${openssl}/include/openssl";
13
14 buildInputs = [bzip2 zlib newt newt openssl pkgconfig slang
15 # automake autoconf libtool gettext
16 ];
17
18 patches = [
19 ./gentoos-zlib.patch
20 ];
21
22 meta = {
23 description = "opensource disk backup software";
24 homepage = http://www.partimage.org;
25 license = stdenv.lib.licenses.gpl2;
26 maintainers = [stdenv.lib.maintainers.marcweber];
27 platforms = stdenv.lib.platforms.linux;
28 };
29}