Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-02-21 06:16:32 +00:00
committed by GitHub
32 changed files with 502 additions and 127 deletions

View File

@@ -7,13 +7,13 @@
buildPythonPackage rec {
pname = "aqualogic";
version = "2.3";
version = "2.5";
src = fetchFromGitHub {
owner = "swilson";
repo = pname;
rev = version;
sha256 = "0101lni458y88yrw1wri3pz2cn5jlxln03pa3q2pxaybcyklb9qk";
sha256 = "sha256-yxd+A5dsB9gBwVlPNjz+IgDHKTktNky84bWZMhA/xa4=";
};
propagatedBuildInputs = [ pyserial ];

View File

@@ -10,6 +10,7 @@
, six
, testresources
, wadllib
, pytestCheckHook
}:
buildPythonPackage rec {
@@ -32,6 +33,8 @@ buildPythonPackage rec {
wadllib
];
checkInputs = [ pytestCheckHook ];
preCheck = ''
export HOME=$TMPDIR
'';
@@ -41,7 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Script Launchpad through its web services interfaces. Officially supported";
homepage = "https://help.launchpad.net/API/launchpadlib";
license = licenses.lgpl3;
license = licenses.lgpl3Only;
maintainers = [ maintainers.marsam ];
};
}

View File

@@ -0,0 +1,32 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyalmond";
version = "0.0.3";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "stanford-oval";
repo = pname;
rev = "v${version}";
sha256 = "0d1w83lr7k2wxcs846iz4mjyqn1ximnw6155kgl515v10fqyrhgk";
};
propagatedBuildInputs = [ aiohttp ];
# Tests require a running Almond instance
doCheck = false;
pythonImportsCheck = [ "pyalmond" ];
meta = with lib; {
description = "Python client for the Almond API";
homepage = "https://github.com/stanford-oval/pyalmond";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, pyjwt
, ratelimit
, pytz
, requests
, requests-mock
}:
buildPythonPackage rec {
pname = "pyflume";
version = "0.6.2";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ChrisMandich";
repo = "PyFlume";
rev = "v${version}";
sha256 = "0i181c8722j831bjlcjwv5ccy20hl8zzlv7bfp8w0976gdmv4iz8";
};
propagatedBuildInputs = [
pyjwt
ratelimit
pytz
requests
];
checkInputs = [
requests-mock
pytestCheckHook
];
pythonImportsCheck = [ "pyflume" ];
meta = with lib; {
description = "Python module to work with Flume sensors";
homepage = "https://github.com/ChrisMandich/PyFlume";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pymitv";
version = "1.4.3";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0jbs1zhqpnsyad3pd8cqy1byv8m5bq17ydc6crmrfkjbp6xvvg3x";
};
propagatedBuildInputs = [ requests ];
# Projec thas no tests
doCheck = false;
pythonImportsCheck = [ "pymitv" ];
meta = with lib; {
description = "Python client the Mi Tv 3";
homepage = "https://github.com/simse/pymitv";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests
, responses
}:
buildPythonPackage rec {
pname = "python-twitch-client";
version = "0.7.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "tsifrer";
repo = pname;
rev = version;
sha256 = "10wwkam3dw0nqr3v9xzigx1zjlrnrhzr7jvihddvzi84vjb6j443";
};
propagatedBuildInputs = [ requests ];
checkInputs = [
pytestCheckHook
responses
];
pythonImportsCheck = [ "twitch" ];
meta = with lib; {
description = "Python wrapper for the Twitch API";
homepage = "https://github.com/tsifrer/python-twitch-client";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,32 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyvolumio";
version = "0.1.3";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "OnFreund";
repo = "PyVolumio";
rev = "v${version}";
sha256 = "0x2dzmd9lwnak2iy6v54y24qjq37y3nlfhsvx7hddgv8jj1klvap";
};
propagatedBuildInputs = [ aiohttp ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyvolumio" ];
meta = with lib; {
description = "Python module to control Volumio";
homepage = "https://github.com/OnFreund/PyVolumio";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ratelimit";
version = "2.2.1";
src = fetchFromGitHub {
owner = "tomasbasham";
repo = pname;
rev = "v${version}";
sha256 = "04hy3hhh5xdqcsz0lx8j18zbj88kh5ik4wyi5d3a5sfy2hx70in2";
};
postPatch = ''
sed -i "/--cov/d" pytest.ini
'';
checkInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests" ];
pythonImportsCheck = [ "ratelimit" ];
meta = with lib; {
description = "Python API Rate Limit Decorator";
homepage = "https://github.com/tomasbasham/ratelimit";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "tahoma-api";
version = "0.0.17";
src = fetchFromGitHub {
owner = "philklei";
repo = pname;
rev = "v${version}";
sha256 = "sha256-YwOKSBlN4lNyS+hfdbQDUq1gc14FBof463ofxtUVLC4=";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "tahoma_api" ];
meta = with lib; {
description = "Python module to interface with Tahoma REST API";
homepage = "https://github.com/philklei/tahoma-api/";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "tuyaha";
version = "0.0.10";
src = fetchFromGitHub {
owner = "PaulAnnekov";
repo = pname;
rev = version;
sha256 = "0n08mqrz76zv1cyqky6ibs6im1fqcywkiyvfmfabml0vzvr43awf";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "tuyaha" ];
meta = with lib; {
description = "Python module with the Tuya API";
homepage = "https://github.com/PaulAnnekov/tuyaha";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,32 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "wiffi";
version = "1.0.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "mampfes";
repo = "python-wiffi";
rev = version;
sha256 = "1bsx8dcmbkajh7hdgxg6wdnyxz4bfnd45piiy3yzyvszfdyvxw0f";
};
propagatedBuildInputs = [ aiohttp ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "wiffi" ];
meta = with lib; {
description = "Python module to interface with STALL WIFFI devices";
homepage = "https://github.com/mampfes/python-wiffi";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "xknx";
version = "0.16.3";
version = "0.17.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "XKNX";
repo = pname;
rev = version;
sha256 = "sha256-toB66woREkFUv3J14wwquRo+uAOgXKO+cwFgyw4Mma8=";
sha256 = "sha256-fzLqkeCfeLNu13R9cp1XVh8fE2B3L47UDpuWOod33gU=";
};
propagatedBuildInputs = [