3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #152589 from McSinyx/formbox

python3Packages.formbox: init at 0.1.0
This commit is contained in:
Fabian Affolter 2021-12-30 09:47:35 +01:00 committed by GitHub
commit ea7127b4ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, pythonOlder, fetchFromSourcehut, bleach, markdown }:
buildPythonPackage rec {
pname = "formbox";
version = "0.1.0";
format = "flit";
disabled = pythonOlder "3.7";
src = fetchFromSourcehut {
owner = "~cnx";
repo = pname;
rev = version;
sha256 = "sha256-6OzmYqUC3mmrAMeMExI4rdVGUoWrxRuBfjKFYbHUlgE=";
};
propagatedBuildInputs = [ bleach markdown ];
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";
license = licenses.agpl3Plus;
maintainers = [ maintainers.McSinyx ];
};
}

View file

@ -2986,6 +2986,8 @@ in {
forecast-solar = callPackage ../development/python-modules/forecast-solar { };
formbox = callPackage ../development/python-modules/formbox { };
fortiosapi = callPackage ../development/python-modules/fortiosapi { };
FormEncode = callPackage ../development/python-modules/FormEncode { };