depot/third_party/nixpkgs/pkgs/development/python-modules/formbox/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

26 lines
690 B
Nix

{ lib, buildPythonPackage, pythonOlder, fetchFromSourcehut, bleach, markdown }:
buildPythonPackage rec {
pname = "formbox";
version = "0.3.0";
format = "flit";
disabled = pythonOlder "3.6";
src = fetchFromSourcehut {
owner = "~cnx";
repo = pname;
rev = version;
sha256 = "sha256-K8NqMi80UurirAZaw67nhW5hFC3+dbdoT84hW7iIcaM=";
};
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 ];
};
}