Unverified Commit 69ac135c authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.pytest-mypy-plugins: refactor

parent bb895efc
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -11,23 +11,28 @@
, pythonOlder
, pyyaml
, regex
, setuptools
, tomlkit
}:

buildPythonPackage rec {
  pname = "pytest-mypy-plugins";
  version = "3.1.0";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "typeddjango";
    repo = pname;
    repo = "pytest-mypy-plugins";
    rev = "refs/tags/${version}";
    hash = "sha256-FXJWOeHXeKH8kDzgujOQyu3ZtIwZ5+gc4Fxod3mRRio=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  buildInputs = [
    pytest
  ];