diff options
author | Bruno BELANYI <bruno@belanyi.fr> | 2021-11-28 15:53:52 +0100 |
---|---|---|
committer | Bruno BELANYI <bruno@belanyi.fr> | 2022-09-29 15:15:20 +0200 |
commit | ac7c5852e58ff738895077979b87f34951da94b6 (patch) | |
tree | 28723536c411495c7c1e4b80a5dae2db8e371ff9 /pkgs/development/python-modules/mf2py | |
parent | f0b2aba79ca45a0b79b043d11800e300bb1e4bf5 (diff) |
python310Packages.mf2py: init at 1.1.2
Diffstat (limited to 'pkgs/development/python-modules/mf2py')
-rw-r--r-- | pkgs/development/python-modules/mf2py/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/mf2py/default.nix b/pkgs/development/python-modules/mf2py/default.nix new file mode 100644 index 0000000000000..110da8e60f8f6 --- /dev/null +++ b/pkgs/development/python-modules/mf2py/default.nix @@ -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 ]; + }; +} |