2011-01-22 13:28:59 +01:00
|
|
|
{ stdenv, fetchurl, zlib, bzip2, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-15 10:40:25 +01:00
|
|
|
name = "dmg2img-1.6.5";
|
2011-01-22 13:28:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://vu1tur.eu.org/tools/${name}.tar.gz";
|
2013-12-15 10:40:25 +01:00
|
|
|
sha256 = "021ka05vq7lsdngsglmv93r2j0vfakrkx964xslzhaybwp5ic2j0";
|
2011-01-22 13:28:59 +01:00
|
|
|
};
|
2013-07-13 16:42:15 +02:00
|
|
|
|
2011-01-22 13:28:59 +01:00
|
|
|
buildInputs = [zlib bzip2 openssl];
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2011-01-22 13:28:59 +01:00
|
|
|
cp dmg2img $out/bin
|
|
|
|
'';
|
2016-08-02 18:06:29 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
2011-01-22 13:28:59 +01:00
|
|
|
}
|