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:
commit
c272b42f14
30
pkgs/development/python-modules/pymsteams/default.nix
Normal file
30
pkgs/development/python-modules/pymsteams/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue