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