python312Packages.pytest-mypy-plugins: refactor

This commit is contained in:
Fabian Affolter 2024-02-29 23:31:07 +01:00 committed by GitHub
parent bb895efcd7
commit 69ac135c65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
];