lol

python3Packages.pytest-mypy-plugins: 1.9.2 -> 1.9.3

authored by

Fabian Affolter and committed by
Martin Weinelt
c07130d8 af6be1db

+37 -7
+37 -7
pkgs/development/python-modules/pytest-mypy-plugins/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchFromGitHub 4 3 , chevron 5 - , pyyaml 4 + , decorator 5 + , fetchFromGitHub 6 6 , mypy 7 7 , pytest 8 - , decorator 8 + , pytestCheckHook 9 + , pythonOlder 10 + , pyyaml 9 11 , regex 10 12 }: 11 13 12 14 buildPythonPackage rec { 13 15 pname = "pytest-mypy-plugins"; 14 - version = "1.9.2"; 16 + version = "1.9.3"; 17 + format = "setuptools"; 18 + 19 + disabled = pythonOlder "3.7"; 20 + 15 21 src = fetchFromGitHub { 16 22 owner = "typeddjango"; 17 23 repo = pname; 18 24 rev = version; 19 - sha256 = "sha256-Me5P4Q2M+gGEWlUVgQ0L048rVUOlUzVMgZZcqZPeE4Q="; 25 + sha256 = "sha256-4hG3atahb+dH2dRGAxguJW3vvEf0TUGUJ3G5ymrf3Vg="; 20 26 }; 21 - propagatedBuildInputs = [ chevron pyyaml mypy pytest decorator regex ]; 27 + 28 + buildInputs = [ 29 + pytest 30 + ]; 31 + 32 + propagatedBuildInputs = [ 33 + chevron 34 + pyyaml 35 + mypy 36 + decorator 37 + regex 38 + ]; 39 + 40 + checkInputs = [ 41 + mypy 42 + pytestCheckHook 43 + ]; 44 + 45 + preCheck = '' 46 + export PATH="$PATH:$out/bin"; 47 + ''; 48 + 49 + pythonImportsCheck = [ 50 + "pytest_mypy_plugins" 51 + ]; 22 52 23 53 meta = with lib; { 24 - description = "pytest plugin for testing mypy types, stubs, and plugins"; 54 + description = "Pytest plugin for testing mypy types, stubs, and plugins"; 25 55 homepage = "https://github.com/TypedDjango/pytest-mypy-plugins"; 26 56 license = licenses.mit; 27 57 maintainers = with maintainers; [ SomeoneSerge ];