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:
parent
089d85baba
commit
9bab3b5a61
@ -17,15 +17,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1ncvyw9ar0z7nd47cysxg5xrjm01y1shdlhp8l2pdpx059p3yx3w";
|
sha256 = "1ncvyw9ar0z7nd47cysxg5xrjm01y1shdlhp8l2pdpx059p3yx3w";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake gperftools ];
|
nativeBuildInputs = [ cmake gperftools ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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";
|
description = "Unsupervised text tokenizer for Neural Network-based text generation";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ pashashocky ];
|
maintainers = with maintainers; [ pashashocky ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user