nixpkgs/pkgs/development/python-modules/sentencepiece/default.nix
2021-01-25 18:31:47 +01:00

18 lines
374 B
Nix

{ 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" ];
}