biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / mf2py / default.nix
blob8d0ecc7d9937e2e04af6cc51097aefc789e6f5d9
2   lib,
3   beautifulsoup4,
4   buildPythonPackage,
5   fetchFromGitHub,
6   html5lib,
7   lxml,
8   mock,
9   poetry-core,
10   pytestCheckHook,
11   pythonOlder,
12   requests,
15 buildPythonPackage rec {
16   pname = "mf2py";
17   version = "2.0.1";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "microformats";
24     repo = "mf2py";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-mhJ+s1rtXEJ6DqVmiyWNEK+3cdDLpR63Q4QGmD9wVio=";
27   };
29   nativeBuildInputs = [ poetry-core ];
31   propagatedBuildInputs = [
32     beautifulsoup4
33     html5lib
34     requests
35   ];
37   nativeCheckInputs = [
38     lxml
39     mock
40     pytestCheckHook
41   ];
43   pythonImportsCheck = [ "mf2py" ];
45   meta = with lib; {
46     description = "Microformats2 parser written in Python";
47     homepage = "https://microformats.org/wiki/mf2py";
48     changelog = "https://github.com/microformats/mf2py/blob/v${version}/CHANGELOG.md";
49     license = licenses.mit;
50     maintainers = with maintainers; [ ambroisie ];
51   };