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