nixpkgs/pkgs/by-name/un/undmg/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
826 B
Nix
Raw Normal View History

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