From d38297f734d26bd5148498eefcc63995e00e6c1a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 13 Feb 2021 21:27:20 +0100 Subject: [PATCH] python3Packages.pymsteams: init at 0.1.14 --- .../python-modules/pymsteams/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/pymsteams/default.nix diff --git a/pkgs/development/python-modules/pymsteams/default.nix b/pkgs/development/python-modules/pymsteams/default.nix new file mode 100644 index 000000000000..a475d074efd6 --- /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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 17f6624c42ea..2d1e6663f9a6 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5670,6 +5670,8 @@ in { pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04 + pymsteams = callPackage ../development/python-modules/pymsteams { }; + py-multibase = callPackage ../development/python-modules/py-multibase { }; py-multicodec = callPackage ../development/python-modules/py-multicodec { };