Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 30 lines 664 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "pymsteams"; 9 version = "0.1.14"; 10 11 src = fetchFromGitHub { 12 owner = "rveachkc"; 13 repo = pname; 14 rev = version; 15 sha256 = "19gnsjzf3kwcwp2rwa30zpqjqgxb9plgcsx7fqbmxnrxgw99fyqx"; 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}