Merge pull request #95825 from matthewbauer/undmg-1.1
undmg: 1.0.5 -> 1.1.0
This commit is contained in:
commit
345c44de53
2 changed files with 7 additions and 5 deletions
|
@ -1,17 +1,19 @@
|
|||
{ stdenv, fetchFromGitHub, zlib, bzip2 }:
|
||||
{ stdenv, fetchFromGitHub, zlib, bzip2, lzfse, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0.5";
|
||||
version = "1.1.0";
|
||||
pname = "undmg";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matthewbauer";
|
||||
repo = "undmg";
|
||||
rev = "v${version}";
|
||||
sha256 = "0yz5fniaa5z33d8bdzgr263957r1c9l99237y2p8k0hdid207la1";
|
||||
sha256 = "0rb4h89jrl04vwf6p679ipa4mp95hzmc1ca11wqbanv3xd1kcpxm";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib bzip2 ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ zlib bzip2 lzfse ];
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
unpackCmdHooks+=(_tryUnpackDmg)
|
||||
_tryUnpackDmg() {
|
||||
if ! [[ "$curSrc" =~ \.dmg$ ]]; then return 1; fi
|
||||
undmg < "$curSrc"
|
||||
undmg "$curSrc"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue