diff options
author | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2018-06-07 13:29:27 +0200 |
---|---|---|
committer | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2018-06-08 15:38:01 +0200 |
commit | 72f051a97025f85dbbb6e6b6f74a8c4ea451e3f2 (patch) | |
tree | fd3d4fe5020905d6bc6da35d5b6cc1c00c4d720f /pkgs | |
parent | 48696cf4fea6e9a49f83c4487626f2522babcb0b (diff) | |
download | nixlib-72f051a97025f85dbbb6e6b6f74a8c4ea451e3f2.tar nixlib-72f051a97025f85dbbb6e6b6f74a8c4ea451e3f2.tar.gz nixlib-72f051a97025f85dbbb6e6b6f74a8c4ea451e3f2.tar.bz2 nixlib-72f051a97025f85dbbb6e6b6f74a8c4ea451e3f2.tar.lz nixlib-72f051a97025f85dbbb6e6b6f74a8c4ea451e3f2.tar.xz nixlib-72f051a97025f85dbbb6e6b6f74a8c4ea451e3f2.tar.zst nixlib-72f051a97025f85dbbb6e6b6f74a8c4ea451e3f2.zip |
python.packages.gast: init at 0.2.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/gast/default.nix | 16 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/gast/default.nix b/pkgs/development/python-modules/gast/default.nix new file mode 100644 index 000000000000..036bed9dd792 --- /dev/null +++ b/pkgs/development/python-modules/gast/default.nix @@ -0,0 +1,16 @@ +{ stdenv, fetchPypi, buildPythonPackage, astunparse }: + +buildPythonPackage rec { + pname = "gast"; + version = "0.2.0"; + src = fetchPypi { + inherit pname version; + sha256 = "0c296xm1vz9x4w4inmdl0k8mnc0i9arw94si2i7pglpc461r0s3h"; + }; + checkInputs = [ astunparse ] ; + meta = with stdenv.lib; { + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7a0248a05b3b..fc0ebcdc2e6f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18173,6 +18173,8 @@ EOF astunparse = callPackage ../development/python-modules/astunparse { }; + gast = callPackage ../development/python-modules/gast { }; + }); in fix' (extends overrides packages) |