depot/third_party/nixpkgs/pkgs/development/python-modules/pymsteams/default.nix
Default email ec92d4d331 Project import generated by Copybara.
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
2021-05-28 11:39:13 +02:00

30 lines
663 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "pymsteams";
version = "0.1.15";
src = fetchFromGitHub {
owner = "rveachkc";
repo = pname;
rev = version;
sha256 = "sha256-PBh6AmKqdiD3WJQnVqUj4DUVv9I0ZZJ6E0McfWQIiwQ=";
};
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 ];
};
}