2016-02-02 20:05:44 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, fuse, zlib, bzip2, openssl, libxml2, icu } :
|
2015-12-08 23:02:59 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "darling-dmg-${version}";
|
2016-02-02 20:05:44 +00:00
|
|
|
version = "1.0.4";
|
|
|
|
|
2015-12-08 23:02:59 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "darlinghq";
|
|
|
|
repo = "darling-dmg";
|
2016-02-02 20:05:44 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0x285p16zfnp0p6injw1frc8krif748sfgxhdd7gb75kz0dfbkrk";
|
2015-12-08 23:02:59 +00:00
|
|
|
};
|
2016-02-02 20:05:44 +00:00
|
|
|
|
2015-12-08 23:02:59 +00:00
|
|
|
buildInputs = [ cmake fuse openssl zlib bzip2 libxml2 icu ];
|
2016-02-02 20:05:44 +00:00
|
|
|
|
2015-12-08 23:02:59 +00:00
|
|
|
cmakeConfigureFlagFlags = ["-DCMAKE_BUILD_TYPE=RELEASE"];
|
2016-02-02 20:05:44 +00:00
|
|
|
|
2015-12-08 23:02:59 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.darlinghq.org/;
|
|
|
|
description = "Darling lets you open OS X dmgs on Linux";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|