8 buildPythonPackage rec {
9 pname = "sentencepiece";
10 format = "setuptools";
11 inherit (sentencepiece) version src;
13 nativeBuildInputs = [ pkg-config ];
14 buildInputs = [ sentencepiece.dev ];
16 sourceRoot = "${src.name}/python";
18 # sentencepiece installs 'bin' output.
19 meta = builtins.removeAttrs sentencepiece.meta [ "outputsToInstall" ];