Merge pull request #262409 from McSinyx/formbox-0.4.2
python3Packages.formbox: 0.4.1 -> 0.4.3
This commit is contained in:
commit
5e5c9d2533
1 changed files with 7 additions and 9 deletions
|
@ -1,26 +1,24 @@
|
|||
{ lib, buildPythonPackage, pythonOlder, fetchFromSourcehut, flit-core, bleach, markdown }:
|
||||
{ lib, buildPythonPackage, pythonOlder, fetchzip, flit-core, mistune, nh3 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "formbox";
|
||||
version = "0.4.1";
|
||||
version = "0.4.3";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~cnx";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-zOvXmSeBiwc0Z5mRMwMsHLU3A/iP7rpjXm0T0I2gUTk=";
|
||||
src = fetchzip {
|
||||
url = "https://trong.loang.net/~cnx/formbox/snapshot/formbox-${version}.tar.gz";
|
||||
hash = "sha256-sRu0otyeYpxot/Fyiz3wyQJsJvl8nsgIVitzT8frxLE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
propagatedBuildInputs = [ bleach markdown ];
|
||||
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://sr.ht/~cnx/formbox";
|
||||
homepage = "https://trong.loang.net/~cnx/formbox";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = [ maintainers.McSinyx ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue