Merge pull request #127205 from dotlambda/doorbirdpy-init
This commit is contained in:
commit
b9c72ca4af
32
pkgs/development/python-modules/doorbirdpy/default.nix
Normal file
32
pkgs/development/python-modules/doorbirdpy/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 ];
|
||||
|
@ -357,6 +357,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"dialogflow"
|
||||
"directv"
|
||||
"discovery"
|
||||
"doorbird"
|
||||
"dsmr"
|
||||
"dte_energy_bridge"
|
||||
"duckdns"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user