Unverified Commit b693e0a6 authored by Fabian Affolter's avatar Fabian Affolter Committed by Martin Weinelt
Browse files

python311Packages.aiosmtpd: refactor

parent 611f3174
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -6,23 +6,28 @@
, pytest-mock
, pytestCheckHook
, pythonOlder
, setuptools
, typing-extensions
}:

buildPythonPackage rec {
  pname = "aiosmtpd";
  version = "1.4.5";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "aio-libs";
    repo = pname;
    repo = "aiosmtpd";
    rev = "refs/tags/v${version}";
    hash = "sha256-8nQ4BVSLYgZHRGkbujy/olV/+GABlkDhe5wef3hyQpQ=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    atpublic
    attrs