2019-01-17 12:07:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, fuse, zlib, bzip2, openssl, libxml2, icu } :
|
2015-12-08 23:02:59 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "darling-dmg";
|
2019-01-17 12:07:46 +00:00
|
|
|
version = "1.0.4+git20180914";
|
2016-02-02 20:05:44 +00:00
|
|
|
|
2015-12-08 23:02:59 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "darlinghq";
|
|
|
|
repo = "darling-dmg";
|
2019-01-17 12:07:46 +00:00
|
|
|
rev = "97a92a6930e43cdbc9dedaee62716e3223deb027";
|
|
|
|
sha256 = "1bngr4827qnl4s2f7z39wjp13nfm3zzzykjshb43wvjz536bnqdj";
|
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 ];
|
|
|
|
buildInputs = [ fuse openssl zlib bzip2 libxml2 icu ];
|
2016-02-02 20:05:44 +00:00
|
|
|
|
2019-06-05 22:16:23 +01:00
|
|
|
# compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
|
|
|
|
CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
|
|
|
|
|
2015-12-08 23:02:59 +00:00
|
|
|
meta = {
|
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";
|
2015-12-08 23:02:59 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|