1 { lib, buildPythonPackage, fetchPypi, isPy27, pytest, mock }:
3 buildPythonPackage rec {
6 disabled = isPy27; # abandoned upstream
10 sha256 = "9bc994f9e9447593bd0a45371f0e7ac7333710fcf64a4eb9834bf149f4ef2f32";
13 buildInputs = [ pytest mock ];
15 # See README for tests invocation
17 PYTHONPATH=$PYTHONPATH:'.:tests' py.test
20 # TypeError: cannot serialize '_io.FileIO' object
24 description = "Extended pickling support for Python objects";
25 homepage = "https://github.com/cloudpipe/cloudpickle";
26 license = with licenses; [ bsd3 ];