evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / youtokentome / default.nix
blob0d6328f13a7811d60f1bce4dd9cd98b05dc596c4
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     rev = "refs/tags/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   };