stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / youtokentome / default.nix
blobf6e15c2dba447446b6f62b20f1c916e7316ec614
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   click,
7   cython,
8   pythonOlder,
9   tabulate,
12 buildPythonPackage rec {
13   pname = "youtokentome";
14   version = "1.0.6";
15   pyproject = true;
17   disabled = pythonOlder "3.9";
19   src = fetchFromGitHub {
20     owner = "VKCOM";
21     repo = "YouTokenToMe";
22     tag = "v${version}";
23     hash = "sha256-IFZS4jSi4yMzI7VbOPHI3KFZu5tjPjfQDPY7e1qbKAM=";
24   };
26   nativeBuildInputs = [
27     cython
28     setuptools
29   ];
31   propagatedBuildInputs = [
32     click
33     tabulate
34   ];
36   pythonImportsCheck = [ "youtokentome" ];
38   meta = with lib; {
39     description = "Unsupervised text tokenizer";
40     mainProgram = "yttm";
41     homepage = "https://github.com/VKCOM/YouTokenToMe";
42     changelog = "https://github.com/VKCOM/YouTokenToMe/releases/tag/v${version}";
43     license = licenses.mit;
44     maintainers = with maintainers; [ fab ];
45   };