forked from mirrors/nixpkgs
30 lines
792 B
Nix
30 lines
792 B
Nix
{ stdenv, fetchFromGitHub, cmake, fuse, zlib, bzip2, openssl, libxml2, icu, lzfse }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "darling-dmg";
|
|
version = "1.0.4+git20200427";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "darlinghq";
|
|
repo = "darling-dmg";
|
|
rev = "71cc76c792db30328663272788c0b64aca27fdb0";
|
|
sha256 = "08iphkxlmjddrxpbm13gxyqwcrd0k65z3l1944n4pccb6qbyj8gv";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ fuse openssl zlib bzip2 libxml2 icu lzfse ];
|
|
|
|
CXXFLAGS = [
|
|
"-DCOMPILE_WITH_LZFSE=1"
|
|
"-llzfse"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://www.darlinghq.org/";
|
|
description = "Darling lets you open macOS dmgs on Linux";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ Luflosi ];
|
|
};
|
|
}
|