From cc4e97e77729dc5b5769228f30a55258d15b9cef Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 8 Mar 2026 18:08:56 +0100 Subject: [PATCH] python3Packages.nlpo3: 1.4.0-unstable-2024-11-11 -> 1.4.0 Changelog: https://github.com/PyThaiNLP/nlpo3/releases/nlpo3-python-v1.4.0 Diff: https://github.com/PyThaiNLP/nlpo3/compare/280c47b7f98e88319c1a4ac2c7a2e5f273c00621...nlpo3-python-v1.4.0 --- pkgs/development/python-modules/nlpo3/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/nlpo3/default.nix b/pkgs/development/python-modules/nlpo3/default.nix index c0fc956df12f..45a133a19b6f 100644 --- a/pkgs/development/python-modules/nlpo3/default.nix +++ b/pkgs/development/python-modules/nlpo3/default.nix @@ -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 ]; };