Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / mf2py / default.nix
blobce50d3662f4662b3f6a2d0dc42e6ec8185a6f4d9
1 { lib
2 , beautifulsoup4
3 , buildPythonPackage
4 , fetchFromGitHub
5 , html5lib
6 , lxml
7 , mock
8 , poetry-core
9 , pytestCheckHook
10 , pythonOlder
11 , requests
14 buildPythonPackage rec {
15   pname = "mf2py";
16   version = "2.0.1";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "microformats";
23     repo = "mf2py";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-mhJ+s1rtXEJ6DqVmiyWNEK+3cdDLpR63Q4QGmD9wVio=";
26   };
28   nativeBuildInputs = [
29     poetry-core
30   ];
32   propagatedBuildInputs = [
33     beautifulsoup4
34     html5lib
35     requests
36   ];
38   nativeCheckInputs = [
39     lxml
40     mock
41     pytestCheckHook
42   ];
44   pythonImportsCheck = [
45     "mf2py"
46   ];
48   meta = with lib; {
49     description = "Microformats2 parser written in Python";
50     homepage = "https://microformats.org/wiki/mf2py";
51     changelog = "https://github.com/microformats/mf2py/blob/v${version}/CHANGELOG.md";
52     license = licenses.mit;
53     maintainers = with maintainers; [ ambroisie ];
54   };