mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
Merge pull request #153139 from Artturin/mypyupdate
This commit is contained in:
commit
0df76028b6
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue