nixpkgs-suyu/pkgs/tools/archivers/undmg/default.nix
ndowens d12df18235 undmg: 1.0.2 -> 1.0.3
undmg: Readd setup-hook
2017-03-04 15:17:45 -06:00

28 lines
644 B
Nix

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