Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / sonarr / default.nix
blob2cc1095b9ede32fb6f5d2afc81b460d4d54f9c41
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , aiohttp
5 , yarl
6 , aresponses
7 , pytest-asyncio
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "sonarr";
13   version = "0.3.0";
15   src = fetchFromGitHub {
16     owner = "ctalkington";
17     repo = "python-sonarr";
18     rev = version;
19     sha256 = "0gi34951qhzzrq59hj93mnkid8cvvknlamkhir6ya9mb23fr7bya";
20   };
22   propagatedBuildInputs = [
23     aiohttp
24     yarl
25   ];
27   nativeCheckInputs = [
28     aresponses
29     pytest-asyncio
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [ "sonarr" ];
35   meta = with lib; {
36     description = "Asynchronous Python client for the Sonarr API";
37     homepage = "https://github.com/ctalkington/python-sonarr";
38     license = licenses.mit;
39     maintainers = with maintainers; [ dotlambda ];
40   };