Merge pull request #262409 from McSinyx/formbox-0.4.2

python3Packages.formbox: 0.4.1 -> 0.4.3
This commit is contained in:
Peder Bergebakken Sundt 2023-10-22 02:02:55 +02:00 committed by GitHub
commit 5e5c9d2533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +1,24 @@
{ lib, buildPythonPackage, pythonOlder, fetchFromSourcehut, flit-core, bleach, markdown }:
{ lib, buildPythonPackage, pythonOlder, fetchzip, flit-core, mistune, nh3 }:
buildPythonPackage rec {
pname = "formbox";
version = "0.4.1";
version = "0.4.3";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromSourcehut {
owner = "~cnx";
repo = pname;
rev = version;
hash = "sha256-zOvXmSeBiwc0Z5mRMwMsHLU3A/iP7rpjXm0T0I2gUTk=";
src = fetchzip {
url = "https://trong.loang.net/~cnx/formbox/snapshot/formbox-${version}.tar.gz";
hash = "sha256-sRu0otyeYpxot/Fyiz3wyQJsJvl8nsgIVitzT8frxLE=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ bleach markdown ];
propagatedBuildInputs = [ mistune nh3 ];
doCheck = false; # there's no test
pythonImportsCheck = [ "formbox" ];
meta = with lib; {
description = "A script to format mbox as HTML/XML";
homepage = "https://sr.ht/~cnx/formbox";
homepage = "https://trong.loang.net/~cnx/formbox";
license = licenses.agpl3Plus;
maintainers = [ maintainers.McSinyx ];
};