Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 729 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, fetchpatch 2, nose, numpy 3, bottle, pyyaml, redis, six 4, zlib 5, pytestCheckHook }: 6 7buildPythonPackage rec { 8 pname = "Jug"; 9 version = "2.0.2"; 10 buildInputs = [ nose numpy ]; 11 propagatedBuildInputs = [ 12 bottle 13 pyyaml 14 redis 15 six 16 17 zlib 18 ]; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "859a4b4cb26a0010299b189c92cfba626852c97a38e22f3d1b56e4e1d8ad8620"; 23 }; 24 25 checkInputs = [ pytestCheckHook ]; 26 pythonImportsCheck = [ "jug" ]; 27 28 meta = with stdenv.lib; { 29 description = "A Task-Based Parallelization Framework"; 30 license = licenses.mit; 31 homepage = "https://jug.readthedocs.io/"; 32 maintainers = with maintainers; [ luispedro ]; 33 }; 34}