Merge pull request #131582 from cpcloud/bump-gast

gast: 0.5.0 -> 0.5.1
This commit is contained in:
Ben Siraphob 2021-07-27 09:29:11 +07:00 committed by GitHub
commit 0ffdd74547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,28 +1,18 @@
{ lib
, fetchFromGitHub
, fetchpatch
, buildPythonPackage
, astunparse
}:
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 ];