Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / caio / default.nix
blobee1bdc8dc62f2392fe183bf7ae4808f31ddbee2e
1 { lib
2 , aiomisc
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pytest-aiohttp
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "caio";
12   version = "0.9.13";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "mosquito";
19     repo = pname;
20     rev = "refs/tags/${version}";
21     hash = "sha256-Q87NuL6yZ5uKImQqqdKTMWNyfUOb4NaZDEvNdqZbHDk=";
22   };
24   nativeCheckInputs = [
25     aiomisc
26     pytest-aiohttp
27     pytestCheckHook
28   ];
30   pythonImportsCheck = [
31     "caio"
32   ];
34   meta = with lib; {
35     description = "File operations with asyncio support";
36     homepage = "https://github.com/mosquito/caio";
37     changelog = "https://github.com/mosquito/caio/releases/tag/${version}";
38     license = licenses.asl20;
39     maintainers = with maintainers; [ fab ];
40   };