python3Packages.beautiful-date: modernize

This commit is contained in:
Harinn
2026-06-06 02:10:13 +07:00
parent 1aa9ed729a
commit 68b4ac2e47
@@ -8,15 +8,17 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "beautiful-date";
version = "2.3.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "kuzmoyev";
repo = "beautiful-date";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-e6YJBaDwWqVehxBPOvsIdV4FIXlIwj29H5untXGJvT0=";
};
@@ -37,4 +39,4 @@ buildPythonPackage rec {
license = lib.licenses.mit;
maintainers = [ ];
};
}
})