nixpkgs-suyu/pkgs/tools/misc/dmg2img/default.nix
Rob Vermaas 24c9b1f3b9 added dmg2img-1.6.2
svn path=/nixpkgs/trunk/; revision=25667
2011-01-22 12:28:59 +00:00

17 lines
362 B
Nix

{ stdenv, fetchurl, zlib, bzip2, openssl }:
stdenv.mkDerivation rec {
name = "dmg2img-1.6.2";
src = fetchurl {
url = "http://vu1tur.eu.org/tools/${name}.tar.gz";
sha256 = "1ibxjsrl9g877qi3jjpv0zdgl4x8j1vnd4y27q17a8my1jkhh5cg";
};
buildInputs = [zlib bzip2 openssl];
installPhase = ''
ensureDir $out/bin
cp dmg2img $out/bin
'';
}