blob: 418cd3d958cd4fc219713ccacf5dc6a304b6c003 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ lib, buildPythonPackage, pythonOlder, fetchzip, flit-core, mistune, nh3 }:
buildPythonPackage rec {
pname = "formbox";
version = "0.4.3";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchzip {
url = "https://trong.loang.net/~cnx/formbox/snapshot/formbox-${version}.tar.gz";
hash = "sha256-sRu0otyeYpxot/Fyiz3wyQJsJvl8nsgIVitzT8frxLE=";
};
nativeBuildInputs = [ flit-core ];
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://trong.loang.net/~cnx/formbox";
license = licenses.agpl3Plus;
maintainers = [ maintainers.McSinyx ];
};
}
|