about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pymailgunner/default.nix
blob: 6b1b03cebf345057524ddde92e0aa18c9b94410f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 ];
  };
}