undmg: 1.0.2 -> 1.0.3

undmg: Readd setup-hook
This commit is contained in:
ndowens 2017-03-03 15:45:24 -06:00
parent 33e23934a7
commit d12df18235

View file

@ -1,27 +1,28 @@
{ stdenv, fetchFromGitHub, zlib, bzip2 }: { stdenv, fetchFromGitHub, zlib, bzip2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.0.2"; version = "1.0.3";
name = "undmg-${version}"; name = "undmg-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "matthewbauer"; owner = "matthewbauer";
repo = "undmg"; repo = "undmg";
rev = "refs/tags/v${version}"; rev = "v${version}";
sha256 = "0w9vwvj9zbpsjkg251bwv9y10wjyjmh54q2piklz74w64rlbqblr"; sha256 = "1pxqw92h2w75d4jwiihwnkhnsfk09cddh3flgrqwh9r3ry14fgbb";
name = "undmg-${version}";
}; };
buildInputs = [ zlib bzip2 ]; buildInputs = [ zlib bzip2 ];
setupHook = ./setup-hook.sh; setupHook = ./setup-hook.sh;
installFlags = "PREFIX=\${out}"; makeFlags = "PREFIX=$(out)";
meta = { meta = with stdenv.lib; {
homepage = https://github.com/matthewbauer/undmg; homepage = https://github.com/matthewbauer/undmg;
description = "Extract a DMG file"; description = "Extract a DMG file";
license = stdenv.lib.licenses.gpl3; license = licenses.gpl3;
platforms = stdenv.lib.platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ matthewbauer lnl7 ];
}; };
} }