at master 744 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy3k, 6 python, 7 stdenv, 8}: 9 10buildPythonPackage rec { 11 pname = "futures"; 12 version = "3.3.0"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "7e033af76a5e35f58e56da7a91e687706faf4e7bdfb2cbc3f2cca6b9bcda9794"; 18 }; 19 20 # This module is for backporting functionality to Python 2.x, it's builtin in py3k 21 disabled = isPy3k; 22 23 checkPhase = '' 24 ${python.interpreter} test_futures.py 25 ''; 26 27 doCheck = !stdenv.hostPlatform.isDarwin; 28 29 meta = with lib; { 30 description = "Backport of the concurrent.futures package from Python 3.2"; 31 homepage = "https://github.com/agronholm/pythonfutures"; 32 license = licenses.bsd2; 33 maintainers = [ ]; 34 }; 35}