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