lol

python312Packages.zope-i18nmessageid: 6.1.0 -> 7.0

Changelog: https://github.com/zopefoundation/zope.i18nmessageid/blob/7.0/CHANGES.rst

+20 -9
+20 -9
pkgs/development/python-modules/zope-i18nmessageid/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - fetchPypi, 4 + fetchFromGitHub, 5 + setuptools, 5 6 zope-testrunner, 6 7 unittestCheckHook, 7 8 }: 8 9 9 10 buildPythonPackage rec { 10 11 pname = "zope-i18nmessageid"; 11 - version = "6.1.0"; 12 - format = "setuptools"; 12 + version = "7.0"; 13 + pyproject = true; 13 14 14 - src = fetchPypi { 15 - pname = "zope.i18nmessageid"; 16 - inherit version; 17 - hash = "sha256-Rawm/chvq997ePHBvM/B1DctGlSDi7rt2p26dEStiUE="; 15 + src = fetchFromGitHub { 16 + owner = "zopefoundation"; 17 + repo = "zope.i18nmessageid"; 18 + tag = version; 19 + hash = "sha256-rdTs1pNMKpPAR2CewXdg1KmI61Sw5r62OobYlJHsUaQ="; 18 20 }; 19 21 22 + postPatch = '' 23 + substituteInPlace pyproject.toml \ 24 + --replace-fail "setuptools<74" "setuptools" 25 + ''; 26 + 27 + build-system = [ setuptools ]; 28 + 20 29 nativeCheckInputs = [ 21 30 unittestCheckHook 22 31 zope-testrunner ··· 26 35 27 36 pythonImportsCheck = [ "zope.i18nmessageid" ]; 28 37 29 - meta = with lib; { 38 + pythonNamespaces = [ "zope" ]; 39 + 40 + meta = { 30 41 homepage = "https://github.com/zopefoundation/zope.i18nmessageid"; 31 42 description = "Message Identifiers for internationalization"; 32 43 changelog = "https://github.com/zopefoundation/zope.i18nmessageid/blob/${version}/CHANGES.rst"; 33 - license = licenses.zpl20; 44 + license = lib.licenses.zpl21; 34 45 maintainers = [ ]; 35 46 }; 36 47 }