Merge pull request #127205 from dotlambda/doorbirdpy-init

This commit is contained in:
Sandro 2021-06-18 10:24:35 +02:00 committed by GitHub
commit b9c72ca4af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 1 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "doorbirdpy";
version = "2.1.0";
src = fetchPypi {
pname = "DoorBirdPy";
inherit version;
sha256 = "ed0e94953cdf96111c7f73c5fcf358f65dc0ff5e47f63fc057bf18ca7512e606";
};
propagatedBuildInputs = [
requests
];
# no tests on PyPI, no tags on GitLab
doCheck = false;
pythonImportsCheck = [ "doorbirdpy" ];
meta = with lib; {
description = "Python wrapper for the DoorBird LAN API";
homepage = "https://gitlab.com/klikini/doorbirdpy";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -186,7 +186,7 @@
"dnsip" = ps: with ps; [ aiodns ];
"dominos" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pizzapi
"doods" = ps: with ps; [ pillow ]; # missing inputs: pydoods
"doorbird" = ps: with ps; [ aiohttp-cors ]; # missing inputs: doorbirdpy
"doorbird" = ps: with ps; [ aiohttp-cors doorbirdpy ];
"dovado" = ps: with ps; [ ]; # missing inputs: dovado
"downloader" = ps: with ps; [ ];
"dsmr" = ps: with ps; [ dsmr-parser ];

View file

@ -357,6 +357,7 @@ in with py.pkgs; buildPythonApplication rec {
"dialogflow"
"directv"
"discovery"
"doorbird"
"dsmr"
"dte_energy_bridge"
"duckdns"

View file

@ -2146,6 +2146,8 @@ in {
dominate = callPackage ../development/python-modules/dominate { };
doorbirdpy = callPackage ../development/python-modules/doorbirdpy { };
dopy = callPackage ../development/python-modules/dopy { };
dotty-dict = callPackage ../development/python-modules/dotty-dict { };