blob: c1ad64b3f5e4fdf77f5853821d9a0f44259ceae7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ buildPythonPackage
, sentencepiece
, pkg-config
}:
buildPythonPackage rec {
pname = "sentencepiece";
inherit (sentencepiece) version src;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ sentencepiece.dev ];
sourceRoot = "source/python";
# sentencepiece installs 'bin' output.
meta = builtins.removeAttrs sentencepiece.meta [ "outputsToInstall" ];
}
|