1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/tools/misc/dmg2img/default.nix

24 lines
559 B
Nix
Raw Normal View History

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