2016-03-31 16:56:24 +01:00
|
|
|
{stdenv, fetchurl, fetchpatch, bzip2, zlib, newt, openssl, pkgconfig, slang
|
2013-05-16 10:41:58 +01:00
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "partimage-0.6.9";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-14 02:17:07 +01:00
|
|
|
url = mirror://sourceforge/partimage/partimage-0.6.9.tar.bz2;
|
2013-05-16 10:41:58 +01:00
|
|
|
sha256 = "0db6xiphk6xnlpbxraiy31c5xzj0ql6k4rfkmqzh665yyj0nqfkm";
|
|
|
|
};
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "--with-ssl-headers=${openssl.dev}/include/openssl" ];
|
2013-05-16 10:41:58 +01:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [bzip2 zlib newt newt openssl slang
|
2013-05-16 10:41:58 +01:00
|
|
|
# automake autoconf libtool gettext
|
|
|
|
];
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./gentoos-zlib.patch
|
2016-03-31 16:56:24 +01:00
|
|
|
(fetchpatch {
|
|
|
|
name = "no-SSLv2.patch";
|
|
|
|
url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk"
|
|
|
|
+ "/use-SSLv3-by-default.patch?h=packages/partimage&id=7e95d1c6614e";
|
2016-04-10 19:41:42 +01:00
|
|
|
sha256 = "17dfqwvwnkinz8vs0l3bjjbmfx3a7y8nv3wn67gjsqpmggcpdnd6";
|
2016-03-31 16:56:24 +01:00
|
|
|
})
|
2013-05-16 10:41:58 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "Opensource disk backup software";
|
2013-05-16 10:41:58 +01:00
|
|
|
homepage = http://www.partimage.org;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|