Loading pkgs/development/python-modules/langid/default.nix 0 → 100644 +37 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , setuptools , wheel , numpy }: buildPythonPackage rec { pname = "langid"; version = "1.1.6"; format = "setuptools"; src = fetchPypi { # use PyPi as source, github repository does not contain tags or release branches inherit pname version; hash = "sha256-BEvK4ZEtq4XDPY6Y8oEbj0/xIT5emp6VEBN7hNosspM="; }; nativeBuildInputs = [ setuptools wheel ]; propagatedBuildInputs = [ numpy ]; doCheck = false; # Package has no tests pythonImportsCheck = [ "langid" ]; meta = with lib; { description = "Langid.py is a standalone Language Identification (LangID) tool"; homepage = "https://pypi.org/project/langid/"; license = licenses.bsd2; maintainers = with maintainers; [ mbalatsko ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5880,6 +5880,8 @@ self: super: with self; { langdetect = callPackage ../development/python-modules/langdetect { }; langid = callPackage ../development/python-modules/langid { }; langsmith = callPackage ../development/python-modules/langsmith { }; language-data = callPackage ../development/python-modules/language-data { }; Loading Loading
pkgs/development/python-modules/langid/default.nix 0 → 100644 +37 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , setuptools , wheel , numpy }: buildPythonPackage rec { pname = "langid"; version = "1.1.6"; format = "setuptools"; src = fetchPypi { # use PyPi as source, github repository does not contain tags or release branches inherit pname version; hash = "sha256-BEvK4ZEtq4XDPY6Y8oEbj0/xIT5emp6VEBN7hNosspM="; }; nativeBuildInputs = [ setuptools wheel ]; propagatedBuildInputs = [ numpy ]; doCheck = false; # Package has no tests pythonImportsCheck = [ "langid" ]; meta = with lib; { description = "Langid.py is a standalone Language Identification (LangID) tool"; homepage = "https://pypi.org/project/langid/"; license = licenses.bsd2; maintainers = with maintainers; [ mbalatsko ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -5880,6 +5880,8 @@ self: super: with self; { langdetect = callPackage ../development/python-modules/langdetect { }; langid = callPackage ../development/python-modules/langid { }; langsmith = callPackage ../development/python-modules/langsmith { }; language-data = callPackage ../development/python-modules/language-data { }; Loading