Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pymsteams / default.nix
bloba475d074efd6c7445dd74d81b7b887a22d0e7ee7
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 }:
7 buildPythonPackage rec {
8   pname = "pymsteams";
9   version = "0.1.14";
11   src = fetchFromGitHub {
12     owner = "rveachkc";
13     repo = pname;
14     rev = version;
15     sha256 = "19gnsjzf3kwcwp2rwa30zpqjqgxb9plgcsx7fqbmxnrxgw99fyqx";
16   };
18   propagatedBuildInputs = [ requests ];
20   # Tests require network access
21   doCheck = false;
22   pythonImportsCheck = [ "pymsteams" ];
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   };