typed-ast: init at 1.0.1
This commit is contained in:
parent
34afc31c49
commit
18f1127f05
16
pkgs/development/python-modules/typed-ast/default.nix
Normal file
16
pkgs/development/python-modules/typed-ast/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -32038,6 +32038,8 @@ EOF
|
|||
};
|
||||
};
|
||||
|
||||
typed-ast = callPackage ../development/python-modules/typed-ast { };
|
||||
|
||||
stripe = buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "stripe";
|
||||
|
|
Loading…
Reference in a new issue