1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 requests,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "pymailgunner";
11 version = "1.5";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchFromGitHub {
17 owner = "pschmitt";
18 repo = "pymailgunner";
19 rev = version;
20 hash = "sha256-QKwpW1aeN6OI76Kocow1Zhghq4/fl/cMPexny0MTwQs=";
21 };
22
23 propagatedBuildInputs = [ requests ];
24
25 # Module has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "pymailgunner" ];
29
30 meta = with lib; {
31 description = "Library for interacting with Mailgun e-mail service";
32 homepage = "https://github.com/pschmitt/pymailgunner";
33 license = with licenses; [ asl20 ];
34 maintainers = with maintainers; [ fab ];
35 };
36}