nixpkgs/pkgs/development/python-modules/typed-ast/default.nix
2019-04-24 18:43:26 +02:00

19 lines
562 B
Nix

{ buildPythonPackage, fetchPypi, lib, pythonOlder }:
buildPythonPackage rec {
pname = "typed-ast";
version = "1.3.4";
src = fetchPypi{
inherit pname version;
sha256 = "68c362848d9fb71d3c3e5f43c09974a0ae319144634e7a47db62f0f2a54a7fa7";
};
# Only works with Python 3.3 and newer;
disabled = pythonOlder "3.3";
# No tests in archive
doCheck = false;
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;
};
}