Merge pull request #114124 from fabaff/twentemilieu

This commit is contained in:
Sandro 2021-02-23 16:12:11 +01:00 committed by GitHub
commit d821aae101
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 1 deletions

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, aiohttp
, yarl
, aresponses
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "twentemilieu";
version = "0.3.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "frenck";
repo = "python-twentemilieu";
rev = "v${version}";
sha256 = "1ff35sh73m2s7fh4d8p2pjwdbfljswr8b8lpcjybz8nsh0286xph";
};
propagatedBuildInputs = [
aiohttp
yarl
];
checkInputs = [
aresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "twentemilieu" ];
meta = with lib; {
description = "Python client for Twente Milieu";
homepage = "https://github.com/frenck/python-twentemilieu";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -866,7 +866,7 @@
"trend" = ps: with ps; [ numpy ];
"tts" = ps: with ps; [ aiohttp-cors mutagen ];
"tuya" = ps: with ps; [ tuyaha ];
"twentemilieu" = ps: with ps; [ ]; # missing inputs: twentemilieu
"twentemilieu" = ps: with ps; [ twentemilieu ];
"twilio" = ps: with ps; [ aiohttp-cors twilio ];
"twilio_call" = ps: with ps; [ aiohttp-cors twilio ];
"twilio_sms" = ps: with ps; [ aiohttp-cors twilio ];

View file

@ -8015,6 +8015,8 @@ in {
tweepy = callPackage ../development/python-modules/tweepy { };
twentemilieu = callPackage ../development/python-modules/twentemilieu { };
twiggy = callPackage ../development/python-modules/twiggy { };
twilio = callPackage ../development/python-modules/twilio { };