1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

Merge pull request #113001 from fabaff/pymsteams

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

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "pymsteams";
version = "0.1.14";
src = fetchFromGitHub {
owner = "rveachkc";
repo = pname;
rev = version;
sha256 = "19gnsjzf3kwcwp2rwa30zpqjqgxb9plgcsx7fqbmxnrxgw99fyqx";
};
propagatedBuildInputs = [ requests ];
# Tests require network access
doCheck = false;
pythonImportsCheck = [ "pymsteams" ];
meta = with lib; {
description = "Python module to interact with Microsoft Teams";
homepage = "https://github.com/rveachkc/pymsteams";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -518,7 +518,7 @@
"mqtt_json" = ps: with ps; [ aiohttp-cors paho-mqtt ];
"mqtt_room" = ps: with ps; [ aiohttp-cors paho-mqtt ];
"mqtt_statestream" = ps: with ps; [ aiohttp-cors paho-mqtt ];
"msteams" = ps: with ps; [ ]; # missing inputs: pymsteams
"msteams" = ps: with ps; [ pymsteams ];
"mvglive" = ps: with ps; [ PyMVGLive ];
"mychevy" = ps: with ps; [ ]; # missing inputs: mychevy
"mycroft" = ps: with ps; [ ]; # missing inputs: mycroftapi

View file

@ -5674,6 +5674,8 @@ in {
pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
pymsteams = callPackage ../development/python-modules/pymsteams { };
py-multibase = callPackage ../development/python-modules/py-multibase { };
py-multicodec = callPackage ../development/python-modules/py-multicodec { };