diff --git a/pkgs/development/python-modules/typed-ast/default.nix b/pkgs/development/python-modules/typed-ast/default.nix index f540cf72877a..0514be0fb4d4 100644 --- a/pkgs/development/python-modules/typed-ast/default.nix +++ b/pkgs/development/python-modules/typed-ast/default.nix @@ -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";