Merge pull request #127201 from dotlambda/directv-init

python3Packages.directv: init at 0.4.0
This commit is contained in:
Fabian Affolter 2021-06-17 19:12:18 +02:00 committed by GitHub
commit b26545db7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 1 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, yarl
, aresponses
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "directv";
version = "0.4.0";
src = fetchFromGitHub {
owner = "ctalkington";
repo = "python-directv";
rev = version;
sha256 = "19jckf6qvl8fwi8yff1qy8c44xdz3zpi1ip1md6zl2c503qc91mk";
};
propagatedBuildInputs = [
aiohttp
yarl
];
checkInputs = [
aresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "directv" ];
meta = with lib; {
description = "Asynchronous Python client for DirecTV (SHEF)";
homepage = "https://github.com/ctalkington/python-directv";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -175,7 +175,7 @@
"dialogflow" = ps: with ps; [ aiohttp-cors ];
"digital_ocean" = ps: with ps; [ digital-ocean ];
"digitalloggers" = ps: with ps; [ ]; # missing inputs: dlipower
"directv" = ps: with ps; [ ]; # missing inputs: directv
"directv" = ps: with ps; [ directv ];
"discogs" = ps: with ps; [ discogs_client ];
"discord" = ps: with ps; [ discordpy ];
"discovery" = ps: with ps; [ aiohttp-cors ifaddr netdisco zeroconf ];

View file

@ -342,6 +342,7 @@ in with py.pkgs; buildPythonApplication rec {
"dexcom"
"dhcp"
"dialogflow"
"directv"
"discovery"
"dsmr"
"dte_energy_bridge"

View file

@ -1919,6 +1919,8 @@ in {
dipy = callPackage ../development/python-modules/dipy { };
directv = callPackage ../development/python-modules/directv { };
discid = callPackage ../development/python-modules/discid { };
discogs_client = callPackage ../development/python-modules/discogs_client { };