mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
17 lines
361 B
Nix
17 lines
361 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 = ''
|
|
mkdir -p $out/bin
|
|
cp dmg2img $out/bin
|
|
'';
|
|
}
|