1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, requests 6}: 7 8buildPythonPackage rec { 9 pname = "pymsteams"; 10 version = "0.2.2"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "rveachkc"; 17 repo = pname; 18 rev = version; 19 hash = "sha256-H1AEjUnEK+seKsnFnHpn1/aHxXcbyz67NbzhlGDtbk4="; 20 }; 21 22 propagatedBuildInputs = [ 23 requests 24 ]; 25 26 # Tests require network access 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "pymsteams" 31 ]; 32 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 }; 39}