1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, requests
5}:
6
7buildPythonPackage rec {
8 pname = "pymsteams";
9 version = "0.1.16";
10
11 src = fetchFromGitHub {
12 owner = "rveachkc";
13 repo = pname;
14 rev = version;
15 sha256 = "sha256-dRfzMCsU+jRdnqzIBLn1mPWr+UDq1HFfXXqe1dVhGDo=";
16 };
17
18 propagatedBuildInputs = [ requests ];
19
20 # Tests require network access
21 doCheck = false;
22 pythonImportsCheck = [ "pymsteams" ];
23
24 meta = with lib; {
25 description = "Python module to interact with Microsoft Teams";
26 homepage = "https://github.com/rveachkc/pymsteams";
27 license = with licenses; [ asl20 ];
28 maintainers = with maintainers; [ fab ];
29 };
30}