nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #255499 from mbalatsko/init-langid

python3Packages.langid: init at 1.1.6

authored by

OTABI Tomoya and committed by
GitHub
e3f328b0 e305dd0f

+39
+37
pkgs/development/python-modules/langid/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , setuptools 5 + , wheel 6 + , numpy 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "langid"; 11 + version = "1.1.6"; 12 + format = "setuptools"; 13 + 14 + src = fetchPypi { # use PyPi as source, github repository does not contain tags or release branches 15 + inherit pname version; 16 + hash = "sha256-BEvK4ZEtq4XDPY6Y8oEbj0/xIT5emp6VEBN7hNosspM="; 17 + }; 18 + 19 + nativeBuildInputs = [ 20 + setuptools 21 + wheel 22 + ]; 23 + 24 + propagatedBuildInputs = [ 25 + numpy 26 + ]; 27 + 28 + doCheck = false; # Package has no tests 29 + pythonImportsCheck = [ "langid" ]; 30 + 31 + meta = with lib; { 32 + description = "Langid.py is a standalone Language Identification (LangID) tool"; 33 + homepage = "https://pypi.org/project/langid/"; 34 + license = licenses.bsd2; 35 + maintainers = with maintainers; [ mbalatsko ]; 36 + }; 37 + }
+2
pkgs/top-level/python-packages.nix
··· 5880 5880 5881 5881 langdetect = callPackage ../development/python-modules/langdetect { }; 5882 5882 5883 + langid = callPackage ../development/python-modules/langid { }; 5884 + 5883 5885 langsmith = callPackage ../development/python-modules/langsmith { }; 5884 5886 5885 5887 language-data = callPackage ../development/python-modules/language-data { };