depot/third_party/nixpkgs/pkgs/development/python-modules/formbox/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

27 lines
741 B
Nix

{ lib, buildPythonPackage, pythonOlder, fetchFromSourcehut, flit-core, bleach, markdown }:
buildPythonPackage rec {
pname = "formbox";
version = "0.4.1";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromSourcehut {
owner = "~cnx";
repo = pname;
rev = version;
hash = "sha256-zOvXmSeBiwc0Z5mRMwMsHLU3A/iP7rpjXm0T0I2gUTk=";
};
nativeBuildInputs = [ flit-core ];
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 ];
};
}