2020-10-25 09:03:38 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, fuse, zlib, bzip2, openssl, libxml2, icu, lzfse }:
|
2015-12-08 23:02:59 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "darling-dmg";
|
2020-10-25 09:02:27 +00:00
|
|
|
version = "1.0.4+git20200427";
|
2016-02-02 20:05:44 +00:00
|
|
|
|
2015-12-08 23:02:59 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "darlinghq";
|
|
|
|
repo = "darling-dmg";
|
2020-10-25 09:02:27 +00:00
|
|
|
rev = "71cc76c792db30328663272788c0b64aca27fdb0";
|
|
|
|
sha256 = "08iphkxlmjddrxpbm13gxyqwcrd0k65z3l1944n4pccb6qbyj8gv";
|
2015-12-08 23:02:59 +00:00
|
|
|
};
|
2016-02-02 20:05:44 +00:00
|
|
|
|
2019-01-17 12:07:46 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-10-25 09:03:38 +00:00
|
|
|
buildInputs = [ fuse openssl zlib bzip2 libxml2 icu lzfse ];
|
2016-02-02 20:05:44 +00:00
|
|
|
|
2020-10-25 09:03:38 +00:00
|
|
|
CXXFLAGS = [
|
|
|
|
"-DCOMPILE_WITH_LZFSE=1"
|
|
|
|
"-llzfse"
|
|
|
|
];
|
2019-06-05 22:16:23 +01:00
|
|
|
|
2020-10-25 09:02:27 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-24 15:56:25 +01:00
|
|
|
homepage = "https://www.darlinghq.org/";
|
2017-08-06 23:05:18 +01:00
|
|
|
description = "Darling lets you open macOS dmgs on Linux";
|
2020-10-25 09:02:27 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
2020-10-25 09:04:26 +00:00
|
|
|
maintainers = with maintainers; [ Luflosi ];
|
2015-12-08 23:02:59 +00:00
|
|
|
};
|
|
|
|
}
|