blob: dd324260f83602bc78b9f252503baa7b10fccc78 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ buildPythonPackage
, stdenv
, 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" ];
}
|