2018-11-27 20:08:07 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-08 20:20:42 +01:00
|
|
|
, filelock
|
2018-11-27 20:08:07 +00:00
|
|
|
, pytest
|
|
|
|
, mypy
|
2020-06-08 20:20:42 +01:00
|
|
|
, setuptools_scm
|
2018-11-27 20:08:07 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-mypy";
|
2020-06-06 07:47:27 +01:00
|
|
|
version = "0.6.2";
|
2018-11-27 20:08:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:27 +01:00
|
|
|
sha256 = "2560a9b27d59bb17810d12ec3402dfc7c8e100e40539a70d2814bcbb27240f27";
|
2018-11-27 20:08:07 +00:00
|
|
|
};
|
|
|
|
|
2020-06-08 20:20:42 +01:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ pytest mypy filelock ];
|
2018-11-27 20:08:07 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Mypy static type checker plugin for Pytest";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/dbader/pytest-mypy";
|
2018-11-27 20:08:07 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|