2011-01-22 12:28:59 +00:00
|
|
|
{ stdenv, fetchurl, zlib, bzip2, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-05-07 16:36:24 +00:00
|
|
|
name = "dmg2img-1.6.7";
|
2011-01-22 12:28:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://vu1tur.eu.org/tools/${name}.tar.gz";
|
2017-05-07 16:36:24 +00:00
|
|
|
sha256 = "066hqhg7k90xcw5aq86pgr4l7apzvnb4559vj5s010avbk8adbh2";
|
2011-01-22 12:28:59 +00:00
|
|
|
};
|
2013-07-13 14:42:15 +00:00
|
|
|
|
2011-01-22 12:28:59 +00:00
|
|
|
buildInputs = [zlib bzip2 openssl];
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/bin
|
2011-01-22 12:28:59 +00:00
|
|
|
cp dmg2img $out/bin
|
|
|
|
'';
|
2016-08-02 16:06:29 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2017-05-07 16:36:24 +00:00
|
|
|
description = "An Apple's compressed dmg to standard (hfsplus) image disk file convert tool.";
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2011-01-22 12:28:59 +00:00
|
|
|
}
|