blob: a9032180e04822cb8cd1441badc950e5182f008d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "pymsteams";
version = "0.2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "rveachkc";
repo = "pymsteams";
tag = version;
hash = "sha256-Ze25mcXCRaon6qzWzcltD8kwJTfrG2w5jMswXymmKo4=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ requests ];
# Tests require network access
doCheck = false;
pythonImportsCheck = [ "pymsteams" ];
meta = {
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 lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|