at 22.05-pre 659 B view raw
1{ lib 2, fetchFromGitHub 3, buildPythonPackage 4, astunparse 5}: 6 7buildPythonPackage rec { 8 pname = "gast"; 9 version = "0.5.1"; 10 11 src = fetchFromGitHub { 12 owner = "serge-sans-paille"; 13 repo = "gast"; 14 rev = version; 15 sha256 = "1gph45frnj47lfr6idiyxrb3gk7vzc9rni9cijmcyz10dyx5kgwa"; 16 }; 17 18 checkInputs = [ astunparse ]; 19 20 meta = with lib; { 21 description = "GAST provides a compatibility layer between the AST of various Python versions, as produced by ast.parse from the standard ast module."; 22 homepage = "https://github.com/serge-sans-paille/gast/"; 23 license = licenses.bsd3; 24 maintainers = with maintainers; [ jyp cpcloud ]; 25 }; 26}