mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-24 01:21:11 +00:00
python3Packages.wordfreq: 3.0.2 -> 3.2.0 (#542527)
This commit is contained in:
38
pkgs/development/python-modules/locate/default.nix
Normal file
38
pkgs/development/python-modules/locate/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "locate";
|
||||
version = "1.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AutoActuary";
|
||||
repo = "locate";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-cPBxSjcX0y0Ul7B6yOY+U2ylrQ1oBV6t3lN4qyutGlE=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "locate" ];
|
||||
|
||||
meta = {
|
||||
description = "Locate files relative to the current Python script";
|
||||
homepage = "https://github.com/AutoActuary/locate";
|
||||
changelog = "https://github.com/AutoActuary/locate/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.geri1701 ];
|
||||
};
|
||||
})
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -9826,6 +9826,8 @@ self: super: with self; {
|
||||
|
||||
localzone = callPackage ../development/python-modules/localzone { };
|
||||
|
||||
locate = callPackage ../development/python-modules/locate { };
|
||||
|
||||
locationsharinglib = callPackage ../development/python-modules/locationsharinglib { };
|
||||
|
||||
locket = callPackage ../development/python-modules/locket { };
|
||||
|
||||
Reference in New Issue
Block a user