python3Packages.pyeight: init at 0.1.5

This commit is contained in:
Fabian Affolter 2021-02-17 20:15:06 +01:00
parent 2489d95c1c
commit c3d8f2223c
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, isPy3k
}:
buildPythonPackage rec {
pname = "pyeight";
version = "0.1.5";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "mezz64";
repo = "pyEight";
rev = version;
sha256 = "1wzmjqs8zx611b71ip7a0phyas96vxpq8xpnhrirfi9l09kdjgsw";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyeight" ];
meta = with lib; {
description = "Python library to interface with the Eight Sleep API";
homepage = "https://github.com/mezz64/pyEight";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5398,6 +5398,8 @@ in {
pyee = callPackage ../development/python-modules/pyee { };
pyeight = callPackage ../development/python-modules/pyeight { };
pyelftools = callPackage ../development/python-modules/pyelftools { };
pyemd = callPackage ../development/python-modules/pyemd { };