python3Packages.cmudict: set updateScript & __structuredAttrs (#529304)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-10 00:04:46 +00:00
committed by GitHub
@@ -6,6 +6,7 @@
importlib-resources,
poetry-core,
pytestCheckHook,
nix-update-script,
}:
buildPythonPackage (finalAttrs: {
@@ -13,6 +14,8 @@ buildPythonPackage (finalAttrs: {
version = "1.1.3";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "prosegrinder";
repo = "python-cmudict";
@@ -32,6 +35,10 @@ buildPythonPackage (finalAttrs: {
pythonImportsCheck = [ "cmudict" ];
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Python wrapper package for The CMU Pronouncing Dictionary data files";
homepage = "https://github.com/prosegrinder/python-cmudict";