Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions pkgs/development/python-modules/lexilang/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@
, setuptools
, pytestCheckHook
, python
, pythonOlder
}:

buildPythonPackage rec {
pname = "lexilang";
version = "1.0.1";
version = "1.0.2";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "LibreTranslate";
repo = "LexiLang";
rev = "v${version}";
hash = "sha256-TLkaqCE9NDjN2XuYOUkeeWIRcqkxrdg31fS4mEnlcEo=";
rev = "refs/tags/v${version}";
hash = "sha256-/uSoEz/5HJnFVkXZndIlM+K0OJLJaorFQ6+kWYELjrs=";
};

nativeBuildInputs = [
Expand All @@ -35,6 +38,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Simple, fast dictionary-based language detector for short texts";
homepage = "https://github.com/LibreTranslate/LexiLang";
changelog = "https://github.com/LibreTranslate/LexiLang/releases/tag/v${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ izorkin ];
};
Expand Down