1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00
nixpkgs/pkgs/tools/archivers/undmg/default.nix

30 lines
699 B
Nix
Raw Normal View History

2020-08-20 01:35:14 +01:00
{ stdenv, fetchFromGitHub, zlib, bzip2, lzfse, pkg-config }:
2016-03-03 10:39:54 +00:00
stdenv.mkDerivation rec {
2020-08-20 01:35:14 +01:00
version = "1.1.0";
pname = "undmg";
2016-03-03 10:39:54 +00:00
src = fetchFromGitHub {
owner = "matthewbauer";
repo = "undmg";
rev = "v${version}";
2020-08-20 01:35:14 +01:00
sha256 = "0rb4h89jrl04vwf6p679ipa4mp95hzmc1ca11wqbanv3xd1kcpxm";
2016-03-03 10:39:54 +00:00
};
2020-08-20 01:35:14 +01:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ zlib bzip2 lzfse ];
2016-03-03 10:39:54 +00:00
setupHook = ./setup-hook.sh;
makeFlags = [ "PREFIX=$(out)" ];
2016-03-03 10:39:54 +00:00
meta = with stdenv.lib; {
homepage = "https://github.com/matthewbauer/undmg";
2016-03-03 10:39:54 +00:00
description = "Extract a DMG file";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ matthewbauer lnl7 ];
2016-03-03 10:39:54 +00:00
};
}