Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-01-14 06:44:24 +00:00
committed by GitHub
10 changed files with 135 additions and 28 deletions

View File

@@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytest-cov
, pytestCheckHook
, pythonOlder
, pyyaml
, requests
, requests-mock
}:
buildPythonPackage rec {
pname = "hydrawiser";
version = "0.2";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "ptcryan";
repo = pname;
rev = "v${version}";
sha256 = "161hazlpvd71xcl2ja86560wm5lnrjv210ki3ji37l6c6gwmhjdj";
};
propagatedBuildInputs = [ requests ];
checkInputs = [
pytest-asyncio
pytest-cov
pytestCheckHook
requests
requests-mock
];
pythonImportsCheck = [ "hydrawiser" ];
meta = with lib; {
description = "Python library for Hydrawise API";
homepage = "https://github.com/ptcryan/hydrawiser";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pbr
, pythonOlder
, requests
, six
}:
buildPythonPackage rec {
pname = "icmplib";
version = "2.0.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "ValentinBELYN";
repo = pname;
rev = "v${version}";
sha256 = "0vps4iz87f8l0z3va92srsx5v19nnd65c22hvbgvhag3vhqsxg7h";
};
propagatedBuildInputs = [
pbr
six
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "icmplib" ];
meta = with lib; {
description = "Python implementation of the ICMP protocol";
homepage = "https://github.com/ValentinBELYN/icmplib";
license = with licenses; [ lgpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,28 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "poolsense";
version = "0.0.8";
src = fetchPypi {
inherit pname version;
sha256 = "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp";
};
propagatedBuildInputs = [ aiohttp ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "poolsense" ];
meta = with lib; {
description = "Python module to access PoolSense device";
homepage = "https://github.com/haemishkyd/poolsense";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}