mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
undmg: 1.0.2 -> 1.0.3
undmg: Readd setup-hook
This commit is contained in:
parent
33e23934a7
commit
d12df18235
1 changed files with 9 additions and 8 deletions
|
@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue