1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

mailmanPackages.postorius: use optional-dependencies

We have a mechanism for this — we don't need an overlay hack.

Fixes: 04952ac5c3 ("mailmanPackages.python3: fix markdown support")
This commit is contained in:
Alyssa Ross 2024-07-16 17:36:40 +02:00
parent b9f2737b66
commit f34ee18635
2 changed files with 3 additions and 5 deletions

View file

@ -11,7 +11,9 @@ buildPythonPackage rec {
hash = "sha256-GmbIqO+03LgbUxJ1nTStXrYN3t2MfvzbeYRAipfTW1o=";
};
propagatedBuildInputs = [ django-mailman3 readme-renderer ];
propagatedBuildInputs = [
django-mailman3 readme-renderer
] ++ readme-renderer.optional-dependencies.md;
nativeCheckInputs = [ beautifulsoup4 vcrpy mock ];
# Tries to connect to database.

View file

@ -29,10 +29,6 @@ lib.fix (self: python3.override {
hash = "sha256-WF3FFrnrBCphnvCjnD19Vf6BvbTfCaUsnN3g0Hvxqn0=";
};
});
readme-renderer = super.readme-renderer.overridePythonAttrs (_: {
propagatedBuildInputs = [ self.cmarkgfm ];
});
})
overlay;