Merge pull request #153139 from Artturin/mypyupdate

This commit is contained in:
Sandro
2022-01-02 12:50:59 +01:00
committed by GitHub
@@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "mypy";
version = "unstable-2021-11-14";
version = "0.930";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "python";
repo = "mypy";
rev = "053a1beb94ee4e5b3260725594315d1b6776e42f";
sha256 = "sha256-q2ntj3y3GgXrw4v+yMvcqWFv4y/6YwunIj3bNzU9CH0=";
rev = "v${version}";
sha256 = "sha256-0yo6f9hRYFfwdfukOGNNTgPCIFO2MZdfMvzbci7FWRs=";
};
patches = [
@@ -33,11 +33,6 @@ buildPythonPackage rec {
})
];
postPatch = ''
substituteInPlace setup.py \
--replace "tomli>=1.1.0,<1.2.0" "tomli"
'';
buildInputs = [
types-typed-ast
];