fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
805 B
Nix
37 lines
805 B
Nix
{
|
|
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";
|
|
mainProgram = "formbox";
|
|
homepage = "https://trong.loang.net/~cnx/formbox";
|
|
license = licenses.agpl3Plus;
|
|
maintainers = [ maintainers.McSinyx ];
|
|
};
|
|
}
|