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

17 lines
550 B
Nix
Raw Normal View History

{ lib, stdenv, fetchPypi, buildPythonPackage, astunparse }:
2018-06-07 12:29:27 +01:00
buildPythonPackage rec {
pname = "gast";
2020-08-16 18:31:00 +01:00
version = "0.4.0";
2018-06-07 12:29:27 +01:00
src = fetchPypi {
inherit pname version;
2020-08-16 18:31:00 +01:00
sha256 = "40feb7b8b8434785585ab224d1568b857edb18297e5a3047f1ba012bc83b42c1";
2018-06-07 12:29:27 +01:00
};
checkInputs = [ astunparse ] ;
meta = with lib; {
2018-06-07 12:29:27 +01:00
description = "GAST provides a compatibility layer between the AST of various Python versions, as produced by ast.parse from the standard ast module.";
license = licenses.bsd3;
maintainers = with maintainers; [ jyp ];
};
}