mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-24 09:31:29 +00:00
python3Packages.wordfreq: 3.0.2 -> 3.2.0
912caf64b6/CHANGELOG.md
Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
poetry-core,
|
||||
regex,
|
||||
langcodes,
|
||||
locate,
|
||||
ftfy,
|
||||
msgpack,
|
||||
mecab-python3,
|
||||
@@ -12,16 +13,17 @@
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "wordfreq";
|
||||
version = "3.0.2";
|
||||
version = "3.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rspeer";
|
||||
repo = "wordfreq";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ANOBbQWLB35Vz6oil6QZDpsNpKHeKUJnDKA5Q9JRVdE=";
|
||||
# The v3.2 tag points to the preceding commit before the version bump.
|
||||
rev = "912caf64b657478d1dff1138efdc078947d54bb1";
|
||||
hash = "sha256-Ni93q6557jWTPYpqWCEriFmkJeYtMy9I5A8GLxJ7QfQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
@@ -29,6 +31,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
regex
|
||||
langcodes
|
||||
locate
|
||||
ftfy
|
||||
msgpack
|
||||
mecab-python3
|
||||
@@ -46,6 +49,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Library for looking up the frequencies of words in many languages, based on many sources of data";
|
||||
homepage = "https://github.com/rspeer/wordfreq/";
|
||||
license = lib.licenses.mit;
|
||||
changelog = "https://github.com/rspeer/wordfreq/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user