depot/third_party/nixpkgs/pkgs/development/python-modules/pymsteams/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

40 lines
875 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pymsteams";
version = "0.2.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rveachkc";
repo ="pymsteams";
rev = "refs/tags/${version}";
hash = "sha256-suPCAzjQp46+kKFiCtm65lxBbsn78Owq4dVmWCdhIpA=";
};
build-system = [ setuptools ];
dependencies = [ 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";
changelog = "https://github.com/rveachkc/pymsteams/releases/tag/${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}