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