mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00: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:
parent
b9f2737b66
commit
f34ee18635
|
@ -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.
|
||||
|
|
|
@ -29,10 +29,6 @@ lib.fix (self: python3.override {
|
|||
hash = "sha256-WF3FFrnrBCphnvCjnD19Vf6BvbTfCaUsnN3g0Hvxqn0=";
|
||||
};
|
||||
});
|
||||
|
||||
readme-renderer = super.readme-renderer.overridePythonAttrs (_: {
|
||||
propagatedBuildInputs = [ self.cmarkgfm ];
|
||||
});
|
||||
})
|
||||
|
||||
overlay;
|
||||
|
|
Loading…
Reference in a new issue