nixpkgs/pkgs/development/python-modules/gast/default.nix

27 lines
659 B
Nix
Raw Normal View History

{ 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";
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
};
checkInputs = [ astunparse ];
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.";
homepage = "https://github.com/serge-sans-paille/gast/";
2018-06-07 13:29:27 +02:00
license = licenses.bsd3;
maintainers = with maintainers; [ jyp cpcloud ];
2018-06-07 13:29:27 +02:00
};
}