nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 19.03 35 lines 1.1 kB view raw
1{stdenv, fetchurl, fetchpatch, bzip2, zlib, newt, openssl, pkgconfig, slang 2}: 3stdenv.mkDerivation { 4 name = "partimage-0.6.9"; 5 enableParallelBuilding = true; 6 7 src = fetchurl { 8 url = mirror://sourceforge/partimage/partimage-0.6.9.tar.bz2; 9 sha256 = "0db6xiphk6xnlpbxraiy31c5xzj0ql6k4rfkmqzh665yyj0nqfkm"; 10 }; 11 configureFlags = [ "--with-ssl-headers=${openssl.dev}/include/openssl" ]; 12 13 nativeBuildInputs = [ pkgconfig ]; 14 buildInputs = [bzip2 zlib newt newt openssl slang 15 # automake autoconf libtool gettext 16 ]; 17 18 patches = [ 19 ./gentoos-zlib.patch 20 (fetchpatch { 21 name = "no-SSLv2.patch"; 22 url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk" 23 + "/use-SSLv3-by-default.patch?h=packages/partimage&id=7e95d1c6614e"; 24 sha256 = "17dfqwvwnkinz8vs0l3bjjbmfx3a7y8nv3wn67gjsqpmggcpdnd6"; 25 }) 26 ]; 27 28 meta = { 29 description = "Opensource disk backup software"; 30 homepage = http://www.partimage.org; 31 license = stdenv.lib.licenses.gpl2; 32 maintainers = [stdenv.lib.maintainers.marcweber]; 33 platforms = stdenv.lib.platforms.linux; 34 }; 35}