From f88cc5a3dc089e482590e5ff12db6bc28f8a318c Mon Sep 17 00:00:00 2001 From: Phillip Cloud Date: Mon, 26 Jul 2021 11:41:38 -0400 Subject: [PATCH 1/2] gast: 0.5.0 -> 0.5.1 --- pkgs/development/python-modules/gast/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/gast/default.nix b/pkgs/development/python-modules/gast/default.nix index 6d18a7ba6d11..4b4aa8c0bd34 100644 --- a/pkgs/development/python-modules/gast/default.nix +++ b/pkgs/development/python-modules/gast/default.nix @@ -7,22 +7,13 @@ buildPythonPackage rec { pname = "gast"; - version = "0.5.0"; - - # TODO: remove this patch on the next release, this fixes a bug with parsing - # assignment expressions e.g., `x := 1`. - patches = [ - (fetchpatch { - url = "https://github.com/serge-sans-paille/gast/commit/3cc9b4d05a80e4bb42882de00df314aaa1e6e591.patch"; - sha256 = "0ylpn0x0a4y6139vd048blsh77yd08npjcn4b5ydf89xnji5mlm1"; - }) - ]; + version = "0.5.1"; src = fetchFromGitHub { owner = "serge-sans-paille"; repo = "gast"; rev = version; - sha256 = "0qsg36knv0k2ppzbr5m4w6spxxw7a77lw88y8vjx7m176bajnsbw"; + sha256 = "1gph45frnj47lfr6idiyxrb3gk7vzc9rni9cijmcyz10dyx5kgwa"; }; checkInputs = [ astunparse ]; From efd3e4975f19748e86f7f19ad88c255f65d0c869 Mon Sep 17 00:00:00 2001 From: Phillip Cloud Date: Mon, 26 Jul 2021 16:48:01 -0400 Subject: [PATCH 2/2] gast: remove unused fetchpatch --- pkgs/development/python-modules/gast/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/gast/default.nix b/pkgs/development/python-modules/gast/default.nix index 4b4aa8c0bd34..f374378d9865 100644 --- a/pkgs/development/python-modules/gast/default.nix +++ b/pkgs/development/python-modules/gast/default.nix @@ -1,6 +1,5 @@ { lib , fetchFromGitHub -, fetchpatch , buildPythonPackage , astunparse }: