tailscale: build derpprobe (#364918)
[NixPkgs.git] / pkgs / development / python-modules / aiomodernforms / default.nix
blob97e7f60eadf5dc3d59b2f0413b0a151d2a33dbbd
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   aiohttp,
6   backoff,
7   yarl,
8   aresponses,
9   pytest-asyncio,
10   pytestCheckHook,
13 buildPythonPackage rec {
14   pname = "aiomodernforms";
15   version = "0.1.8";
16   format = "setuptools";
18   src = fetchFromGitHub {
19     owner = "wonderslug";
20     repo = "aiomodernforms";
21     rev = "v${version}";
22     hash = "sha256-Vx51WBjjNPIfLlwMnAuwHnGNljhnjKkU0tWB9M9rjsw=";
23   };
25   propagatedBuildInputs = [
26     aiohttp
27     backoff
28     yarl
29   ];
31   nativeCheckInputs = [
32     aresponses
33     pytest-asyncio
34     pytestCheckHook
35   ];
37   disabledTests = [
38     # https://github.com/wonderslug/aiomodernforms/issues/273
39     "test_connection_error"
40     "test_empty_response"
41   ];
43   pythonImportsCheck = [ "aiomodernforms" ];
45   meta = with lib; {
46     description = "Asynchronous Python client for Modern Forms fans";
47     homepage = "https://github.com/wonderslug/aiomodernforms";
48     license = licenses.mit;
49     maintainers = with maintainers; [ dotlambda ];
50   };