@@ -1,18 +1,28 @@
1−{ stdenv, fetchurl, pythonPackages }:
1+{ stdenv, fetchurl, fetchpatch, pythonPackages }:
22
33pythonPackages.buildPythonApplication rec {
44 name = "hy-${version}";
5− version = "0.15.0";
5+ version = "0.16.0";
66
77 src = fetchurl {
88 url = "mirror://pypi/h/hy/${name}.tar.gz";
9− sha256 = "01vzaib1imr00j5d7f7xk44v800h06s3yv9inhlqm6f3b25ywpl1";
9+ sha256 = "00lq38ppikrpyw38fn5iy9iwrsamsv22507cp146dsjbzkwjpzrd";
1010 };
1111
12+ patches = [
13+ (fetchpatch {
14+ name = "bytecode-error-handling.patch";
15+ url = "https://github.com/hylang/hy/commit/57326785b97b7b0a89f6258fe3d04dccdc06cfc0.patch";
16+ sha256 = "1lxxs7mxbh0kaaa25b1pbqs9d8asyjnlf2n86qg8hzsv32jfcq92";
17+ excludes = [ "AUTHORS" "NEWS.rst" ];
18+ })
19+ ];
20+
1221 propagatedBuildInputs = with pythonPackages; [
1322 appdirs
1423 astor
1524 clint
25+ fastentrypoints
1626 funcparserlib
1727 rply
1828 ];