1
0
Fork 1
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:
Sandro 2022-01-02 12:50:59 +01:00 committed by GitHub
commit 0df76028b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
];