Merge pull request #176211 from fabaff/pymailgunner

This commit is contained in:
Martin Weinelt 2022-06-04 12:56:19 +02:00 committed by GitHub
commit 3ee744f462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 1 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymailgunner";
version = "1.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pschmitt";
repo = pname;
rev = version;
hash = "sha256-QKwpW1aeN6OI76Kocow1Zhghq4/fl/cMPexny0MTwQs=";
};
propagatedBuildInputs = [
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"pymailgunner"
];
meta = with lib; {
description = "Library for interacting with Mailgun e-mail service";
homepage = "https://github.com/pschmitt/pymailgunner";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1514,7 +1514,8 @@
];
"mailgun" = ps: with ps; [
aiohttp-cors
]; # missing inputs: pymailgunner
pymailgunner
];
"manual" = ps: with ps; [
];
"manual_mqtt" = ps: with ps; [
@ -3513,6 +3514,7 @@
"lutron_caseta"
"lyric"
"mailbox"
"mailgun"
"manual"
"manual_mqtt"
"maxcube"

View file

@ -7560,6 +7560,8 @@ in {
pymaging_png = callPackage ../development/python-modules/pymaging_png { };
pymailgunner = callPackage ../development/python-modules/pymailgunner { };
pymanopt = callPackage ../development/python-modules/pymanopt { };
pymarshal = callPackage ../development/python-modules/pymarshal { };