mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #176211 from fabaff/pymailgunner
This commit is contained in:
commit
3ee744f462
3 changed files with 44 additions and 1 deletions
39
pkgs/development/python-modules/pymailgunner/default.nix
Normal file
39
pkgs/development/python-modules/pymailgunner/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue