2018-11-27 20:08:07 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, mypy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-mypy";
|
2019-11-11 11:13:40 +00:00
|
|
|
version = "0.4.2";
|
2018-11-27 20:08:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-11 11:13:40 +00:00
|
|
|
sha256 = "5a5338cecff17f005b181546a13e282761754b481225df37f33d37f86ac5b304";
|
2018-11-27 20:08:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pytest mypy ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Mypy static type checker plugin for Pytest";
|
|
|
|
homepage = https://github.com/dbader/pytest-mypy;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|