Merge pull request #139479 from fabaff/pydoods

This commit is contained in:
Martin Weinelt 2021-09-28 13:29:39 +02:00 committed by GitHub
commit 6556d8ef32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 1 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pydoods";
version = "1.0.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1brpcfj1iy9mhf2inla4gi681zlh7g4qvhr6vrprk6r693glpn3x";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pydoods" ];
meta = with lib; {
description = "Python wrapper for the DOODS service";
homepage = "https://github.com/snowzach/pydoods";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -188,7 +188,7 @@
"dlna_dmr" = ps: with ps; [ aiohttp-cors async-upnp-client ifaddr ];
"dnsip" = ps: with ps; [ aiodns ];
"dominos" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pizzapi
"doods" = ps: with ps; [ pillow ]; # missing inputs: pydoods
"doods" = ps: with ps; [ pillow pydoods ];
"doorbird" = ps: with ps; [ aiohttp-cors doorbirdpy ];
"dovado" = ps: with ps; [ ]; # missing inputs: dovado
"downloader" = ps: with ps; [ ];

View file

@ -6138,6 +6138,8 @@ in {
pydocumentdb = callPackage ../development/python-modules/pydocumentdb { };
pydoods = callPackage ../development/python-modules/pydoods { };
pydot = callPackage ../development/python-modules/pydot {
inherit (pkgs) graphviz;
};