nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5, isPyPy
6}:
7
8
9buildPythonPackage rec {
10 pname = "greenlet";
11 version = "1.0.0";
12 disabled = isPyPy; # builtin for pypy
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "1y6wbg9yhm9dw6m768n4yslp56h85pnxkk3drz6icn15g6f1d7ki";
17 };
18
19 propagatedBuildInputs = [ six ];
20
21 meta = {
22 homepage = "https://pypi.python.org/pypi/greenlet";
23 description = "Module for lightweight in-process concurrent programming";
24 license = lib.licenses.lgpl2;
25 };
26}