Merge pull request #113486 from fabaff/pyeight
This commit is contained in:
commit
c085a3f1d0
36
pkgs/development/python-modules/pyeight/default.nix
Normal file
36
pkgs/development/python-modules/pyeight/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -209,7 +209,7 @@
|
||||
"ee_brightbox" = ps: with ps; [ ]; # missing inputs: eebrightbox
|
||||
"efergy" = ps: with ps; [ ];
|
||||
"egardia" = ps: with ps; [ ]; # missing inputs: pythonegardia
|
||||
"eight_sleep" = ps: with ps; [ ]; # missing inputs: pyeight
|
||||
"eight_sleep" = ps: with ps; [ pyeight ];
|
||||
"elgato" = ps: with ps; [ ]; # missing inputs: elgato
|
||||
"eliqonline" = ps: with ps; [ ]; # missing inputs: eliqonline
|
||||
"elkm1" = ps: with ps; [ ]; # missing inputs: elkm1-lib
|
||||
|
@ -5395,6 +5395,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user