ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pymsteams / default.nix
blob45aecdb00b05b085daf671e1dadad2a650be9fd2
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , requests
6 }:
8 buildPythonPackage rec {
9   pname = "pymsteams";
10   version = "0.2.2";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "rveachkc";
17     repo = pname;
18     rev = version;
19     sha256 = "sha256-H1AEjUnEK+seKsnFnHpn1/aHxXcbyz67NbzhlGDtbk4=";
20   };
22   propagatedBuildInputs = [
23     requests
24   ];
26   # Tests require network access
27   doCheck = false;
29   pythonImportsCheck = [
30     "pymsteams"
31   ];
33   meta = with lib; {
34     description = "Python module to interact with Microsoft Teams";
35     homepage = "https://github.com/rveachkc/pymsteams";
36     license = with licenses; [ asl20 ];
37     maintainers = with maintainers; [ fab ];
38   };