Merge pull request #273299 from fabaff/youtokentome
python311Packages.youtokentome: init at 1.0.6
This commit is contained in:
commit
36635a3ca4
47
pkgs/development/python-modules/youtokentome/default.nix
Normal file
47
pkgs/development/python-modules/youtokentome/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, click
|
||||
, cython
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, tabulate
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "youtokentome";
|
||||
version = "1.0.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VKCOM";
|
||||
repo = "YouTokenToMe";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-IFZS4jSi4yMzI7VbOPHI3KFZu5tjPjfQDPY7e1qbKAM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
tabulate
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"youtokentome"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Unsupervised text tokenizer";
|
||||
homepage = "https://github.com/VKCOM/YouTokenToMe";
|
||||
changelog = "https://github.com/VKCOM/YouTokenToMe/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -16205,6 +16205,8 @@ self: super: with self; {
|
||||
|
||||
youseedee = callPackage ../development/python-modules/youseedee { };
|
||||
|
||||
youtokentome = callPackage ../development/python-modules/youtokentome { };
|
||||
|
||||
youtube-dl = callPackage ../tools/misc/youtube-dl { };
|
||||
|
||||
youtube-dl-light = callPackage ../tools/misc/youtube-dl {
|
||||
|
Loading…
Reference in New Issue
Block a user