opencc: 1.0.6 -> 1.1.2
enable parallel building as well
This commit is contained in:
parent
4542b54abd
commit
f24621395c
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opencc";
|
||||
version = "1.0.6";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BYVoid";
|
||||
repo = "OpenCC";
|
||||
rev = "ver.${version}";
|
||||
sha256 = "1ygj2ygxsva72hs6cm0a6wdd2rp71k4nm0pd7cb20y2srdlzvdqk";
|
||||
sha256 = "1a15p9idznh23b44r7rw2zjnirbxjs5pyq3k6xkz0k64cdh2zq6h";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake python ];
|
||||
@ -20,9 +20,6 @@ stdenv.mkDerivation rec {
|
||||
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$(pwd)/src
|
||||
'';
|
||||
|
||||
# Parallel building occasionaly fails with: Error copying file "/tmp/nix-build-opencc-1.0.5.drv-0/OpenCC-ver.1.0.5/build/src/libopencc.so.1.0.0" to "/tmp/nix-build-opencc-1.0.5.drv-0/OpenCC-ver.1.0.5/build/src/tools".
|
||||
enableParallelBuilding = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/BYVoid/OpenCC";
|
||||
license = licenses.asl20;
|
||||
|
Loading…
Reference in New Issue
Block a user