darling-dmg: 1.0.4 -> 1.0.4+git20180914
This commit is contained in:
parent
1096720c5f
commit
84de36a0c8
@ -1,24 +1,18 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchpatch, cmake, fuse, zlib, bzip2, openssl, libxml2, icu } :
|
{ stdenv, fetchFromGitHub, cmake, fuse, zlib, bzip2, openssl, libxml2, icu } :
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "darling-dmg-${version}";
|
name = "darling-dmg-${version}";
|
||||||
version = "1.0.4";
|
version = "1.0.4+git20180914";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "darlinghq";
|
owner = "darlinghq";
|
||||||
repo = "darling-dmg";
|
repo = "darling-dmg";
|
||||||
rev = "v${version}";
|
rev = "97a92a6930e43cdbc9dedaee62716e3223deb027";
|
||||||
sha256 = "0x285p16zfnp0p6injw1frc8krif748sfgxhdd7gb75kz0dfbkrk";
|
sha256 = "1bngr4827qnl4s2f7z39wjp13nfm3zzzykjshb43wvjz536bnqdj";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
nativeBuildInputs = [ cmake ];
|
||||||
(fetchpatch {
|
buildInputs = [ fuse openssl zlib bzip2 libxml2 icu ];
|
||||||
url = "https://github.com/darlinghq/darling-dmg/commit/cbb0092264b5c5cf3e92d6c2de23f02d859ebf44.patch";
|
|
||||||
sha256 = "05fhgn5c09f1rva6bvbq16nhlkblrhscbf69k04ajwdh7y98sw39";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ cmake fuse openssl zlib bzip2 libxml2 icu ];
|
|
||||||
|
|
||||||
# compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
|
# compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
|
||||||
CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
|
CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user