mailmanPackages.hyperkitty: 1.3.7 -> 1.3.8

This commit is contained in:
Alyssa Ross 2024-01-17 10:33:30 +01:00
parent c3b2d5e5db
commit 78b9406b41
2 changed files with 4 additions and 18 deletions

View file

@ -1,7 +1,6 @@
{ lib
, python3
, fetchPypi
, fetchpatch
, nixosTests
}:
@ -9,21 +8,14 @@ with python3.pkgs;
buildPythonPackage rec {
pname = "HyperKitty";
version = "1.3.7";
version = "1.3.8";
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-TXSso+wwVGdBymIzns5yOS4pj1EdConmm87b/NyBAss=";
hash = "sha256-j//Mrbos/g1BGenHRmOe5GvAza5nu/mchAgdLQu9h7g=";
};
patches = [
(fetchpatch {
url = "https://gitlab.com/mailman/hyperkitty/-/commit/5bb394662882bfc73c3e877458da44343aa06922.patch";
hash = "sha256-9vcY6nu3txDftH6aYpdh9qSrLzZceGjVFxuD1Ux18gw=";
})
];
postPatch = ''
# isort is a development dependency
sed -i '/isort/d' setup.py
@ -52,6 +44,7 @@ buildPythonPackage rec {
# HyperKitty so they're not included for people who don't need them.
nativeCheckInputs = [
beautifulsoup4
elastic-transport
elasticsearch
mock
whoosh
@ -66,6 +59,7 @@ buildPythonPackage rec {
passthru.tests = { inherit (nixosTests) mailman; };
meta = {
changelog = "https://docs.mailman3.org/projects/hyperkitty/en/latest/news.html";
homepage = "https://www.gnu.org/software/mailman/";
description = "Archiver for GNU Mailman v3";
license = lib.licenses.gpl3;

View file

@ -18,14 +18,6 @@ python3.override {
[1] 72a14ea563a3f5bf85db659349a533fe75a8b0ce
[2] f931bc81d63f5cfda55ac73d754c87b3fd63b291
*/
elasticsearch = super.elasticsearch.overridePythonAttrs ({ pname, ... }: rec {
version = "7.17.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZsTs4q3+fMEg4rameYof1cd3rs+C7sObuVzvfPx+orM=";
};
});
# https://gitlab.com/mailman/hyperkitty/-/merge_requests/541
mistune = super.mistune.overridePythonAttrs (old: rec {
version = "2.0.5";