linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / pyeight / default.nix
blobb3a2de5ed404028e5b8f27645ddadee322845dec
1 { lib
2 , aiohttp
3 , async-timeout
4 , buildPythonPackage
5 , fetchFromGitHub
6 , isPy3k
7 }:
9 buildPythonPackage rec {
10   pname = "pyeight";
11   version = "0.1.5";
12   disabled = !isPy3k;
14   src = fetchFromGitHub {
15     owner = "mezz64";
16     repo = "pyEight";
17     rev = version;
18     sha256 = "1wzmjqs8zx611b71ip7a0phyas96vxpq8xpnhrirfi9l09kdjgsw";
19   };
21   propagatedBuildInputs = [
22     aiohttp
23     async-timeout
24   ];
26   # Project has no tests
27   doCheck = false;
28   pythonImportsCheck = [ "pyeight" ];
30   meta = with lib; {
31     description = "Python library to interface with the Eight Sleep API";
32     homepage = "https://github.com/mezz64/pyEight";
33     license = with licenses; [ mit ];
34     maintainers = with maintainers; [ fab ];
35   };