Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pymailgunner / default.nix
blob6b1b03cebf345057524ddde92e0aa18c9b94410f
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pymailgunner";
10   version = "1.5";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "pschmitt";
17     repo = pname;
18     rev = version;
19     hash = "sha256-QKwpW1aeN6OI76Kocow1Zhghq4/fl/cMPexny0MTwQs=";
20   };
22   propagatedBuildInputs = [
23     requests
24   ];
26   # Module has no tests
27   doCheck = false;
29   pythonImportsCheck = [
30     "pymailgunner"
31   ];
33   meta = with lib; {
34     description = "Library for interacting with Mailgun e-mail service";
35     homepage = "https://github.com/pschmitt/pymailgunner";
36     license = with licenses; [ asl20 ];
37     maintainers = with maintainers; [ fab ];
38   };