29574b70c6
GitOrigin-RevId: 64b4617883844efe0cc20163e007ee636462eb18
30 lines
664 B
Nix
30 lines
664 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymsteams";
|
|
version = "0.1.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rveachkc";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "19gnsjzf3kwcwp2rwa30zpqjqgxb9plgcsx7fqbmxnrxgw99fyqx";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
# Tests require network access
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "pymsteams" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python module to interact with Microsoft Teams";
|
|
homepage = "https://github.com/rveachkc/pymsteams";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|