2016-02-02 23:05:44 +03:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, fuse, zlib, bzip2, openssl, libxml2, icu } :
|
2015-12-09 02:02:59 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "darling-dmg-${version}";
|
2016-02-02 23:05:44 +03:00
|
|
|
version = "1.0.4";
|
|
|
|
|
2015-12-09 02:02:59 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "darlinghq";
|
|
|
|
repo = "darling-dmg";
|
2016-02-02 23:05:44 +03:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0x285p16zfnp0p6injw1frc8krif748sfgxhdd7gb75kz0dfbkrk";
|
2015-12-09 02:02:59 +03:00
|
|
|
};
|
2016-02-02 23:05:44 +03:00
|
|
|
|
2015-12-09 02:02:59 +03:00
|
|
|
buildInputs = [ cmake fuse openssl zlib bzip2 libxml2 icu ];
|
2016-02-02 23:05:44 +03:00
|
|
|
|
2015-12-09 02:02:59 +03: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;
|
|
|
|
};
|
|
|
|
}
|