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 url = "https://github.com/errbotio/rocket/pull/1.patch"; 15 sha256 = "1s668yv5b86b78vbqwhcl44k2l16c9bhk3199yy9hayf0vkxnwif"; 16 }) ]; 17 18 meta = { 19 homepage = "https://github.com/errbotio/rocket"; 20 description = "Modern, multi-threaded and extensible web server"; 21 license = lib.licenses.mit; 22 }; 23} 24