Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / sonarr / default.nix
blob0d2fe50b3976269ecab6274249bc0b6c8f913669
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";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "ctalkington";
18     repo = "python-sonarr";
19     rev = version;
20     sha256 = "0gi34951qhzzrq59hj93mnkid8cvvknlamkhir6ya9mb23fr7bya";
21   };
23   propagatedBuildInputs = [
24     aiohttp
25     yarl
26   ];
28   nativeCheckInputs = [
29     aresponses
30     pytest-asyncio
31     pytestCheckHook
32   ];
34   pythonImportsCheck = [ "sonarr" ];
36   meta = with lib; {
37     description = "Asynchronous Python client for the Sonarr API";
38     homepage = "https://github.com/ctalkington/python-sonarr";
39     license = licenses.mit;
40     maintainers = with maintainers; [ dotlambda ];
41   };