summary refs log tree commit diff
path: root/pkgs/development/python-modules/pymsteams/default.nix
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-02-13 21:27:20 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-02-13 21:27:20 +0100
commitd38297f734d26bd5148498eefcc63995e00e6c1a (patch)
tree4b0508481fbeb04672ef342ec3f7307a9fee5a49 /pkgs/development/python-modules/pymsteams/default.nix
parent5852a21819542e6809f68ba5a798600e69874e76 (diff)
downloadnixpkgs-d38297f734d26bd5148498eefcc63995e00e6c1a.tar
nixpkgs-d38297f734d26bd5148498eefcc63995e00e6c1a.tar.gz
nixpkgs-d38297f734d26bd5148498eefcc63995e00e6c1a.tar.bz2
nixpkgs-d38297f734d26bd5148498eefcc63995e00e6c1a.tar.lz
nixpkgs-d38297f734d26bd5148498eefcc63995e00e6c1a.tar.xz
nixpkgs-d38297f734d26bd5148498eefcc63995e00e6c1a.tar.zst
nixpkgs-d38297f734d26bd5148498eefcc63995e00e6c1a.zip
python3Packages.pymsteams: init at 0.1.14
Diffstat (limited to 'pkgs/development/python-modules/pymsteams/default.nix')
-rw-r--r--pkgs/development/python-modules/pymsteams/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pymsteams/default.nix b/pkgs/development/python-modules/pymsteams/default.nix
new file mode 100644
index 00000000000..a475d074efd
--- /dev/null
+++ b/pkgs/development/python-modules/pymsteams/default.nix
@@ -0,0 +1,30 @@
+{ 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 ];
+  };
+}