lol
1{stdenv, fetchurl, fetchpatch, 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.dev}/include/openssl";
13
14 nativeBuildInputs = [ pkgconfig ];
15 buildInputs = [bzip2 zlib newt newt openssl slang
16 # automake autoconf libtool gettext
17 ];
18
19 patches = [
20 ./gentoos-zlib.patch
21 (fetchpatch {
22 name = "no-SSLv2.patch";
23 url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk"
24 + "/use-SSLv3-by-default.patch?h=packages/partimage&id=7e95d1c6614e";
25 sha256 = "17dfqwvwnkinz8vs0l3bjjbmfx3a7y8nv3wn67gjsqpmggcpdnd6";
26 })
27 ];
28
29 meta = {
30 description = "Opensource disk backup software";
31 homepage = http://www.partimage.org;
32 license = stdenv.lib.licenses.gpl2;
33 maintainers = [stdenv.lib.maintainers.marcweber];
34 platforms = stdenv.lib.platforms.linux;
35 };
36}