sentencepiece: set platforms to unix to support Darwin

- The sentencepiece library builds fine on Darwin as well.
- Remove superfluous `enableParallelBuilding = true`.
- Make the value of homepage a string.
This commit is contained in:
Daniël de Kok 2020-02-21 15:38:07 +01:00 committed by Jon
parent 089d85baba
commit 9bab3b5a61

View File

@ -17,15 +17,13 @@ stdenv.mkDerivation rec {
sha256 = "1ncvyw9ar0z7nd47cysxg5xrjm01y1shdlhp8l2pdpx059p3yx3w";
};
enableParallelBuilding = true;
nativeBuildInputs = [ cmake gperftools ];
meta = with stdenv.lib; {
homepage = https://github.com/google/sentencepiece;
homepage = "https://github.com/google/sentencepiece";
description = "Unsupervised text tokenizer for Neural Network-based text generation";
license = licenses.asl20;
platforms = [ "x86_64-linux" ];
platforms = platforms.unix;
maintainers = with maintainers; [ pashashocky ];
};
}