python3Packages.nlpo3: 1.4.0-unstable-2024-11-11 -> 1.4.0 (#497958)
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
pythonAtLeast,
|
||||
unittestCheckHook,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
@@ -15,14 +14,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nlpo3";
|
||||
version = "1.4.0-unstable-2024-11-11";
|
||||
version = "1.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyThaiNLP";
|
||||
repo = "nlpo3";
|
||||
rev = "280c47b7f98e88319c1a4ac2c7a2e5f273c00621";
|
||||
hash = "sha256-bEN2SaINfqvTIPSROXApR3zoLdjZY0h6bdAzbMHrJdM=";
|
||||
tag = "nlpo3-python-v${version}";
|
||||
hash = "sha256-GQwUKc6VXF1mDzvB2HBwHlaC0Eu3sZvlTuGe0CDrP4k=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -34,7 +33,7 @@ buildPythonPackage rec {
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit src sourceRoot;
|
||||
hash = "sha256-S5nDOz/3ZenvMs8ruybEu5ULefeYGPIKO8kCW3dTa+E=";
|
||||
hash = "sha256-Kp2FL6GXb5g5jqvFWZxZUy7OuGaavN9DZkp9kdI4d/4=";
|
||||
};
|
||||
|
||||
preCheck = ''
|
||||
@@ -67,7 +66,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Thai Natural Language Processing library in Rust, with Python and Node bindings";
|
||||
homepage = "https://github.com/PyThaiNLP/nlpo3";
|
||||
changelog = "https://github.com/PyThaiNLP/nlpo3/releases/tag/nlpo3-python-v${version}";
|
||||
changelog = "https://github.com/PyThaiNLP/nlpo3/releases/tag/${src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ vizid ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user