mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python312Packages.pymsteams: refactor
This commit is contained in:
parent
fd6726c53e
commit
266720f133
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user