python312Packages.pymsteams: refactor

This commit is contained in:
Fabian Affolter 2024-07-12 15:56:50 +02:00 committed by GitHub
parent fd6726c53e
commit 266720f133
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,23 +4,26 @@
fetchFromGitHub,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pymsteams";
version = "0.2.3";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rveachkc";
repo = pname;
repo ="pymsteams";
rev = "refs/tags/${version}";
hash = "sha256-suPCAzjQp46+kKFiCtm65lxBbsn78Owq4dVmWCdhIpA=";
};
propagatedBuildInputs = [ requests ];
build-system = [ setuptools ];
dependencies = [ requests ];
# Tests require network access
doCheck = false;