@@ -1,11 +1,11 @@
1−{ stdenv, buildPythonPackage, fetchPypi
1+{ stdenv, buildPythonPackage, fetchPypi, fetchpatch
22, nose, numpy
33, bottle, pyyaml, redis, six
44, zlib }:
55
66buildPythonPackage rec {
77 pname = "Jug";
8− version = "1.6.7";
8+ version = "1.6.8";
99 buildInputs = [ nose numpy ];
1010 propagatedBuildInputs = [
1111 bottle
@@ -16,9 +16,18 @@ buildPythonPackage rec {
1616 zlib
1717 ];
1818
19+ patches = [
20+ # Fix numpy usage. Remove with the next release
21+ (fetchpatch {
22+ url = "https://github.com/luispedro/jug/commit/814405ce1553d3d2e2e96cfbeae05d63dc4f2491.patch";
23+ sha256 = "1l8sssp856dmhxbnv3pzxgwgpv6rb884l0in5x7q19czwn5a4vmv";
24+ excludes = [ "ChangeLog" ];
25+ })
26+ ];
27+
1928 src = fetchPypi {
2029 inherit pname version;
21− sha256 = "a7faba838f3437163ae8459bff96e2c6ca1298312bdb9104c702685178d17269";
30+ sha256 = "0s1l1ln9s6mi2aa132gqr789nnhdpiw057j3sp54v1sbq2cwd42p";
2231 };
2332
2433 meta = with stdenv.lib; {