2021-07-23 17:57:26 +02:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
|
|
|
, astunparse
|
|
|
|
}:
|
2018-06-07 13:29:27 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gast";
|
2021-07-26 17:41:38 +02:00
|
|
|
version = "0.5.1";
|
2021-07-23 17:57:26 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "serge-sans-paille";
|
|
|
|
repo = "gast";
|
|
|
|
rev = version;
|
2021-07-26 17:41:38 +02:00
|
|
|
sha256 = "1gph45frnj47lfr6idiyxrb3gk7vzc9rni9cijmcyz10dyx5kgwa";
|
2018-06-07 13:29:27 +02:00
|
|
|
};
|
2021-07-23 17:57:26 +02:00
|
|
|
|
|
|
|
checkInputs = [ astunparse ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-06-07 13:29:27 +02:00
|
|
|
description = "GAST provides a compatibility layer between the AST of various Python versions, as produced by ast.parse from the standard ast module.";
|
2021-07-23 17:57:26 +02:00
|
|
|
homepage = "https://github.com/serge-sans-paille/gast/";
|
2018-06-07 13:29:27 +02:00
|
|
|
license = licenses.bsd3;
|
2021-07-23 17:57:26 +02:00
|
|
|
maintainers = with maintainers; [ jyp cpcloud ];
|
2018-06-07 13:29:27 +02:00
|
|
|
};
|
|
|
|
}
|