3
0
Fork 0
forked from mirrors/nixpkgs

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 {
pname = "mypy";
version = "0.701";
version = "0.711";
# Tests not included in pip package.
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "05479r3gbq17r22hyhxjg49smx5q864pgx8ayy23rsdj4w6z2r2p";
sha256 = "0s1kwi1dhrv55v0c9w7c1g6mq5d2dpw7x1jj5mcnniw77mclmvdv";
};
disabled = !isPy3k;

View file

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