3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/dmg2img/default.nix

18 lines
360 B
Nix
Raw Normal View History

{ stdenv, fetchurl, zlib, bzip2, openssl }:
stdenv.mkDerivation rec {
2013-07-13 15:42:15 +01:00
name = "dmg2img-1.6.4";
src = fetchurl {
url = "http://vu1tur.eu.org/tools/${name}.tar.gz";
2013-07-13 15:42:15 +01:00
sha256 = "1vcrkphrxdn6dlna8j47a5zaxvdr74msf1sqnc4ldskf35k87fyb";
};
2013-07-13 15:42:15 +01:00
buildInputs = [zlib bzip2 openssl];
installPhase = ''
mkdir -p $out/bin
cp dmg2img $out/bin
'';
}