python310Packages.mf2py: init at 1.1.2

This commit is contained in:
Bruno BELANYI 2021-11-28 15:53:52 +01:00
parent f0b2aba79c
commit ac7c5852e5
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, beautifulsoup4
, html5lib
, requests
, lxml
, mock
, nose
}:
buildPythonPackage rec {
pname = "mf2py";
version = "1.1.2";
src = fetchFromGitHub {
owner = "microformats";
repo = "mf2py";
rev = version;
sha256 = "sha256-9pAD/eCmc/l7LGmKixDhZy3hhj1jCmcyo9wbqgtz/wI=";
};
propagatedBuildInputs = [
beautifulsoup4
html5lib
requests
];
checkInputs = [
lxml
mock
nose
];
pythonImportsCheck = [ "mf2py" ];
meta = with lib; {
description = "Microformats2 parser written in Python";
homepage = "https://microformats.org/wiki/mf2py";
license = licenses.mit;
maintainers = with maintainers; [ ambroisie ];
};
}

View File

@ -5712,6 +5712,8 @@ in {
mezzanine = callPackage ../development/python-modules/mezzanine { }; mezzanine = callPackage ../development/python-modules/mezzanine { };
mf2py = callPackage ../development/python-modules/mf2py { };
micawber = callPackage ../development/python-modules/micawber { }; micawber = callPackage ../development/python-modules/micawber { };
microdata = callPackage ../development/python-modules/microdata { }; microdata = callPackage ../development/python-modules/microdata { };