mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python310Packages.mf2py: init at 1.1.2
This commit is contained in:
parent
f0b2aba79c
commit
ac7c5852e5
43
pkgs/development/python-modules/mf2py/default.nix
Normal file
43
pkgs/development/python-modules/mf2py/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user