Merge pull request #153139 from Artturin/mypyupdate

authored by Sandro and committed by GitHub 0df76028 7518dfb5

+3 -8
+3 -8
pkgs/development/python-modules/mypy/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "mypy"; 17 - version = "unstable-2021-11-14"; 17 + version = "0.930"; 18 18 disabled = pythonOlder "3.6"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "python"; 22 22 repo = "mypy"; 23 - rev = "053a1beb94ee4e5b3260725594315d1b6776e42f"; 24 - sha256 = "sha256-q2ntj3y3GgXrw4v+yMvcqWFv4y/6YwunIj3bNzU9CH0="; 23 + rev = "v${version}"; 24 + sha256 = "sha256-0yo6f9hRYFfwdfukOGNNTgPCIFO2MZdfMvzbci7FWRs="; 25 25 }; 26 26 27 27 patches = [ ··· 32 32 sha256 = "sha256-5gPahX2X6+/qUaqDQIGJGvh9lQ2EDtks2cpQutgbOHk="; 33 33 }) 34 34 ]; 35 - 36 - postPatch = '' 37 - substituteInPlace setup.py \ 38 - --replace "tomli>=1.1.0,<1.2.0" "tomli" 39 - ''; 40 35 41 36 buildInputs = [ 42 37 types-typed-ast