1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #69178 from uri-canva/typed-ast

pythonPackages.typed-ast: 1.3.5 -> 1.4.0,  pythonPackages.mypy: 0.701 -> 0.711
This commit is contained in:
Jörg Thalheim 2019-09-21 09:15:06 +01:00 committed by GitHub
commit 495f0ea056
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 7 deletions

View file

@ -3,14 +3,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mypy"; pname = "mypy";
version = "0.701"; version = "0.711";
# Tests not included in pip package. # Tests not included in pip package.
doCheck = false; doCheck = false;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "05479r3gbq17r22hyhxjg49smx5q864pgx8ayy23rsdj4w6z2r2p"; sha256 = "0s1kwi1dhrv55v0c9w7c1g6mq5d2dpw7x1jj5mcnniw77mclmvdv";
}; };
disabled = !isPy3k; disabled = !isPy3k;

View file

@ -1,10 +1,12 @@
{ buildPythonPackage, fetchPypi, lib, pythonOlder }: { buildPythonPackage, fetchFromGitHub, lib, pythonOlder }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "typed-ast"; pname = "typed-ast";
version = "1.3.5"; version = "1.4.0";
src = fetchPypi{ src = fetchFromGitHub{
inherit pname version; owner = "python";
sha256 = "1m7pr6qpana3cvqwiw7mlvrgvmw27ch5mx1592572xhlki8g85ak"; repo = "typed_ast";
rev = version;
sha256 = "0l0hz809f7i356kmqkvfsaswiidb98j9hs9rrjnfawzqcbffzgyb";
}; };
# Only works with Python 3.3 and newer; # Only works with Python 3.3 and newer;
disabled = pythonOlder "3.3"; disabled = pythonOlder "3.3";