Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-mypy / default.nix
blobbfe9fb613e24b7c53169953caf92c1742afb059a
1 { lib
2 , attrs
3 , buildPythonPackage
4 , fetchPypi
5 , filelock
6 , pytest
7 , mypy
8 , setuptools
9 , setuptools-scm
12 buildPythonPackage rec {
13   pname = "pytest-mypy";
14   version = "0.10.3";
15   pyproject = true;
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-+EWPZCMj8Toso+LmFQn3dnlmtSe02K3M1QMsPntP09s=";
20   };
22   nativeBuildInputs = [
23     setuptools
24     setuptools-scm
25   ];
27   buildInputs = [
28     pytest
29   ];
31   propagatedBuildInputs = [
32     attrs
33     mypy
34     filelock
35   ];
37   # does not contain tests
38   doCheck = false;
39   pythonImportsCheck = [ "pytest_mypy" ];
41   meta = with lib; {
42     description = "Mypy static type checker plugin for Pytest";
43     homepage = "https://github.com/dbader/pytest-mypy";
44     license = licenses.mit;
45     maintainers = [ ];
46   };