Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-03-02 00:32:15 +00:00
committed by GitHub
18 changed files with 463 additions and 279 deletions

View File

@@ -8,22 +8,25 @@
buildPythonPackage rec {
pname = "pg8000";
version = "1.16.6";
version = "1.17.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "8fc1e6a62ccb7c9830f1e7e9288e2d20eaf373cc8875b5c55b7d5d9b7717be91";
sha256 = "sha256-FBmMWv6yiRBuQO5uXkwFKcU2mTn2yliKAos3GnX+IN0=";
};
propagatedBuildInputs = [ passlib scramp ];
# Tests require a running PostgreSQL instance
doCheck = false;
pythonImportsCheck = [ "pg8000" ];
meta = with lib; {
description = "Python driver for PostgreSQL";
homepage = "https://github.com/tlocke/pg8000";
description = "PostgreSQL interface library, for asyncio";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ domenkozar ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests_oauthlib
, simplejson
}:
buildPythonPackage rec {
pname = "pyvicare";
version = "0.2.5";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "PyViCare";
inherit version;
sha256 = "16wqqjs238ad6znlz2gjadqj8891226bd02a1106xyz6vbbk2gdk";
};
propagatedBuildInputs = [
requests_oauthlib
simplejson
];
# The published tarball on PyPI is incomplete and there are GitHub releases
doCheck = false;
pythonImportsCheck = [ "PyViCare" ];
meta = with lib; {
description = "Python Library to access Viessmann ViCare API";
homepage = "https://github.com/somm15/PyViCare";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, colorlog
, fetchFromGitHub
, pytest-sugar
, pytest-timeout
, pytestCheckHook
, pythonOlder
, requests
, requests-mock
}:
buildPythonPackage rec {
pname = "skybellpy";
version = "0.6.3";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "MisterWil";
repo = pname;
rev = "v${version}";
sha256 = "1ghvm0pcdyhq6xfjc2dkldd701x77w07077sx09xsk6q2milmvzz";
};
propagatedBuildInputs = [
colorlog
requests
];
checkInputs = [
pytest-sugar
pytest-timeout
pytestCheckHook
requests-mock
];
pythonImportsCheck = [ "skybellpy" ];
meta = with lib; {
description = "Python wrapper for the Skybell alarm API";
homepage = "https://github.com/MisterWil/skybellpy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}