nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 668 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonAtLeast, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "lmtpd"; 11 version = "6.2.0"; 12 pyproject = true; 13 14 # smtpd will be removed in version 3.12 15 disabled = pythonAtLeast "3.12"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-LGgl0v+h3gmUQEEadC9Y4bPo3uszRa3P1MLDjUuvYrM="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 pythonImportsCheck = [ "lmtpd" ]; 25 26 meta = { 27 description = "LMTP counterpart to smtpd in the Python standard library"; 28 homepage = "https://github.com/moggers87/lmtpd"; 29 license = lib.licenses.mit; 30 maintainers = with lib.maintainers; [ jluttine ]; 31 }; 32}