2016-03-03 10:39:54 +00:00
|
|
|
{ stdenv, fetchFromGitHub, zlib, bzip2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-07-28 21:42:35 +00:00
|
|
|
version = "1.0.5";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "undmg";
|
2016-03-03 10:39:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matthewbauer";
|
|
|
|
repo = "undmg";
|
2017-03-03 21:45:24 +00:00
|
|
|
rev = "v${version}";
|
2020-07-28 21:42:35 +00:00
|
|
|
sha256 = "0yz5fniaa5z33d8bdzgr263957r1c9l99237y2p8k0hdid207la1";
|
2016-03-03 10:39:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib bzip2 ];
|
|
|
|
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2016-03-03 10:39:54 +00:00
|
|
|
|
2017-03-03 21:45:24 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/matthewbauer/undmg";
|
2016-03-03 10:39:54 +00:00
|
|
|
description = "Extract a DMG file";
|
2017-03-03 21:45:24 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ matthewbauer lnl7 ];
|
2016-03-03 10:39:54 +00:00
|
|
|
};
|
|
|
|
}
|