goldendict: 2021-03-09 → 2022-05-10, fix build on darwin
This commit is contained in:
parent
437fd89069
commit
b6d6a89fad
|
@ -10,13 +10,13 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "goldendict";
|
pname = "goldendict";
|
||||||
version = "2021-03-09";
|
version = "2022-05-10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "goldendict";
|
owner = "goldendict";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "b2e673961d28ca5eb920a909091252d3321f09d6";
|
rev = "f810c6bd724e61977b4e94ca2d8abfa5bd766379";
|
||||||
sha256 = "sha256-+AAamnICq0/B54ggFpgF/Uupm1a4YiEYgHXrhIK4M0E=";
|
sha256 = "sha256-gNM+iahoGQy8TlNFLQx5ksITzQznv7MWMX/88QCTnL0";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -27,7 +27,8 @@ mkDerivation rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace goldendict.pro \
|
substituteInPlace goldendict.pro \
|
||||||
--replace "hunspell-1.6.1" "hunspell-${lib.versions.majorMinor hunspell.version}"
|
--replace "hunspell-1.6.1" "hunspell-${lib.versions.majorMinor hunspell.version}" \
|
||||||
|
--replace "opencc.2" "opencc"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config qmake ];
|
nativeBuildInputs = [ pkg-config qmake ];
|
||||||
|
|
Loading…
Reference in a new issue