diff options
author | Tom Hunger <tehunger@gmail.com> | 2017-03-06 20:33:23 +0000 |
---|---|---|
committer | Tom Hunger <tehunger@gmail.com> | 2017-03-06 21:29:05 +0000 |
commit | 18f1127f0582b65e2e4bba16f0917ee3fb7501ba (patch) | |
tree | fd28aadfad797efe6730e928f5be2e017ff5bb42 /pkgs/development/python-modules/typed-ast | |
parent | 34afc31c49b067879c3c49b29c67e2a1bc806685 (diff) | |
download | nixlib-18f1127f0582b65e2e4bba16f0917ee3fb7501ba.tar nixlib-18f1127f0582b65e2e4bba16f0917ee3fb7501ba.tar.gz nixlib-18f1127f0582b65e2e4bba16f0917ee3fb7501ba.tar.bz2 nixlib-18f1127f0582b65e2e4bba16f0917ee3fb7501ba.tar.lz nixlib-18f1127f0582b65e2e4bba16f0917ee3fb7501ba.tar.xz nixlib-18f1127f0582b65e2e4bba16f0917ee3fb7501ba.tar.zst nixlib-18f1127f0582b65e2e4bba16f0917ee3fb7501ba.zip |
typed-ast: init at 1.0.1
Diffstat (limited to 'pkgs/development/python-modules/typed-ast')
-rw-r--r-- | pkgs/development/python-modules/typed-ast/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/typed-ast/default.nix b/pkgs/development/python-modules/typed-ast/default.nix new file mode 100644 index 000000000000..8d36d3c3a61f --- /dev/null +++ b/pkgs/development/python-modules/typed-ast/default.nix @@ -0,0 +1,16 @@ +{ buildPythonPackage, fetchzip, isPy3k, lib, pythonOlder }: +buildPythonPackage rec { + name = "typed-ast-${version}"; + version = "1.0.1"; + src = fetchzip { + url = "mirror://pypi/t/typed-ast/${name}.zip"; + sha256 = "1q69czr9ghnbd81hay71kgynn6mqi5nsgand9yw6dyw5bim5l154"; + }; + # Only works with Python 3.3 and newer; + disabled = !isPy3k && !(pythonOlder "3.3"); + meta = { + homepage = "https://pypi.python.org/pypi/typed-ast"; + description = "a fork of Python 2 and 3 ast modules with type comment support"; + license = lib.licenses.asl20; + }; +} |