diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-03-03 07:41:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 07:41:10 +0100 |
commit | a6328de769eb1ea32bb92aac7c4d2fb3ed4f6dcb (patch) | |
tree | 1da7c3f89aef4ba09d4df8b287c3e17ab0e1aed9 | |
parent | 394bc6c138bc8248f65360ac7d185fae5c6409d9 (diff) | |
parent | 62a76604dcedd879fcb2d2f54031f5b558dd17ce (diff) |
Merge pull request #114218 from fabaff/bump-readme_renderer
python3Packages.readme_renderer: 28.0 -> 29.0
-rw-r--r-- | pkgs/development/python-modules/django-mailman3/default.nix | 8 | ||||
-rw-r--r-- | pkgs/development/python-modules/readme_renderer/default.nix | 41 | ||||
-rw-r--r-- | pkgs/servers/mail/mailman/postorius.nix | 12 |
3 files changed, 34 insertions, 27 deletions
diff --git a/pkgs/development/python-modules/django-mailman3/default.nix b/pkgs/development/python-modules/django-mailman3/default.nix index 11939b9b7739a..fbac0a82a17ff 100644 --- a/pkgs/development/python-modules/django-mailman3/default.nix +++ b/pkgs/development/python-modules/django-mailman3/default.nix @@ -4,11 +4,11 @@ buildPythonPackage rec { pname = "django-mailman3"; - version = "1.3.4"; + version = "1.3.5"; src = fetchPypi { inherit pname version; - sha256 = "7e37b68bb47e9ae196ca19018f576e2c8c90189c5bd82d4e549d0c2f2f3f35fb"; + sha256 = "sha256-NoWVs8JiPt6spb7qXxKIdCTDhO3W9wUs9EJEMHUIQxM="; }; propagatedBuildInputs = [ @@ -21,10 +21,12 @@ buildPythonPackage rec { PYTHONPATH=.:$PYTHONPATH django-admin.py test --settings=django_mailman3.tests.settings_test ''; + pythonImportsCheck = [ "django_mailman3" ]; + meta = with lib; { description = "Django library for Mailman UIs"; homepage = "https://gitlab.com/mailman/django-mailman3"; - license = licenses.gpl3; + license = licenses.gpl3Plus; maintainers = with maintainers; [ globin peti ]; }; } diff --git a/pkgs/development/python-modules/readme_renderer/default.nix b/pkgs/development/python-modules/readme_renderer/default.nix index 57a84e69d205d..0d22a0c56c9f4 100644 --- a/pkgs/development/python-modules/readme_renderer/default.nix +++ b/pkgs/development/python-modules/readme_renderer/default.nix @@ -1,40 +1,45 @@ { lib +, bleach , buildPythonPackage -, fetchPypi -, pytest -, mock , cmarkgfm -, bleach , docutils +, fetchPypi , future +, mock , pygments -, six +, pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "readme_renderer"; - version = "28.0"; + version = "29.0"; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "6b7e5aa59210a40de72eb79931491eaf46fefca2952b9181268bd7c7c65c260a"; + sha256 = "sha256-kv1awr+Gd/MQ8zA6pLzludX58glKuYwp8TeR17gFo9s="; }; - checkInputs = [ pytest mock ]; - propagatedBuildInputs = [ - bleach cmarkgfm docutils future pygments six + bleach + cmarkgfm + docutils + future + pygments + ]; + + checkInputs = [ + mock + pytestCheckHook ]; - checkPhase = '' - # disable one failing test case - # fixtures test is failing for incorrect class name - py.test -k "not test_invalid_link and not fixtures" - ''; + pythonImportsCheck = [ "readme_renderer" ]; - meta = { - description = "readme_renderer is a library for rendering readme descriptions for Warehouse"; + meta = with lib; { + description = "Python library for rendering readme descriptions"; homepage = "https://github.com/pypa/readme_renderer"; - license = lib.licenses.asl20; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; }; } diff --git a/pkgs/servers/mail/mailman/postorius.nix b/pkgs/servers/mail/mailman/postorius.nix index 9330de3a8f386..fc9f6217d934c 100644 --- a/pkgs/servers/mail/mailman/postorius.nix +++ b/pkgs/servers/mail/mailman/postorius.nix @@ -4,11 +4,11 @@ buildPythonPackage rec { pname = "postorius"; - version = "1.3.3"; + version = "1.3.4"; src = fetchPypi { inherit pname version; - sha256 = "08jn23gblbkfl09qlykbpsmp39mmach3sl69h1j5cd5kkx839rwa"; + sha256 = "sha256-L2ApUGQNvR0UVvodVM+wMzjYLZkegI4fT4yUiU/cibU="; }; propagatedBuildInputs = [ django-mailman3 readme_renderer ]; @@ -17,10 +17,10 @@ buildPythonPackage rec { # Tries to connect to database. doCheck = false; - meta = { - homepage = "https://www.gnu.org/software/mailman/"; + meta = with lib; { + homepage = "https://docs.mailman3.org/projects/postorius"; description = "Web-based user interface for managing GNU Mailman"; - license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ globin peti ]; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ globin peti ]; }; } |