mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
30 lines
699 B
Nix
30 lines
699 B
Nix
{ stdenv, fetchFromGitHub, zlib, bzip2, lzfse, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.1.0";
|
|
pname = "undmg";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matthewbauer";
|
|
repo = "undmg";
|
|
rev = "v${version}";
|
|
sha256 = "0rb4h89jrl04vwf6p679ipa4mp95hzmc1ca11wqbanv3xd1kcpxm";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ zlib bzip2 lzfse ];
|
|
|
|
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 ];
|
|
};
|
|
}
|