mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
29 lines
807 B
Nix
29 lines
807 B
Nix
{ lib, python3 }:
|
|
|
|
with python3.pkgs;
|
|
|
|
buildPythonPackage rec {
|
|
pname = "postorius";
|
|
# Note: Mailman core must be on the latest version before upgrading Postorious.
|
|
# See: https://gitlab.com/mailman/postorius/-/issues/516#note_544571309
|
|
version = "1.3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-KwzEU9IfcQ6YPZu3jPuFrd6ux/3e2pzoLfTrak/aGmg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ django-mailman3 readme_renderer ];
|
|
nativeCheckInputs = [ beautifulsoup4 vcrpy mock ];
|
|
|
|
# Tries to connect to database.
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://docs.mailman3.org/projects/postorius";
|
|
description = "Web-based user interface for managing GNU Mailman";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ globin qyliss ];
|
|
};
|
|
}
|