1{ stdenv, buildPythonPackage, fetchPypi, fetchFromGitHub }:
2
3buildPythonPackage rec {
4 name = "${pname}-${version}";
5 pname = "lmtpd";
6 version = "6.0.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "192d1j9lj9i6f4llwg51817am4jj8pjvlqmkx03spmsay6f832bm";
11 };
12
13 meta = with stdenv.lib; {
14 homepage = https://github.com/moggers87/lmtpd;
15 description = "LMTP counterpart to smtpd in the Python standard library";
16 license = licenses.mit;
17 maintainers = with maintainers; [ jluttine ];
18 };
19}