pythonPackages.typed-ast: 1.3.5 -> 1.4.0

This commit is contained in:
Uri Baghin 2019-09-20 19:58:20 +10:00
parent d50d5817d4
commit 33821c59bb

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";