depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-mypy/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

28 lines
608 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, filelock
, pytest
, mypy
, setuptools_scm
}:
buildPythonPackage rec {
pname = "pytest-mypy";
version = "0.6.2";
src = fetchPypi {
inherit pname version;
sha256 = "2560a9b27d59bb17810d12ec3402dfc7c8e100e40539a70d2814bcbb27240f27";
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ pytest mypy filelock ];
meta = with lib; {
description = "Mypy static type checker plugin for Pytest";
homepage = "https://github.com/dbader/pytest-mypy";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}