1{ 2 lib, 3 fetchPypi, 4 fetchpatch, 5 buildPythonPackage, 6}: 7 8buildPythonPackage rec { 9 pname = "rocket-errbot"; 10 version = "1.2.5"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "181y1wqjvlry5xdzbliajvrxvswzh3myh795jnj1pm92r5grqzda"; 16 }; 17 18 # remove with 1.2.6 19 patches = [ 20 (fetchpatch { 21 # https://github.com/errbotio/rocket/pull/1 22 name = "errbotio-rocket-pull-1.patch"; 23 url = "https://github.com/errbotio/rocket/compare/f1a52fe17164f83bccce5e6a1935fc5071c2265f...d69adcd49de5d78bd80f952a2ee31e6a0bac4e3d.patch"; 24 sha256 = "1s668yv5b86b78vbqwhcl44k2l16c9bhk3199yy9hayf0vkxnwif"; 25 }) 26 ]; 27 28 meta = { 29 homepage = "https://github.com/errbotio/rocket"; 30 description = "Modern, multi-threaded and extensible web server"; 31 license = lib.licenses.mit; 32 }; 33}