python3Packages.cmudict: set updateScript & __structuredAttrs

`nix store make-content-addressed` gives the same output
This commit is contained in:
SandaruKasa
2026-06-08 01:57:14 +03:00
parent 5ef3df4b92
commit 253ec64f93
@@ -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";