2019-05-01 18:18:50 +01:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pythonPackages }:
|
2017-01-18 14:32:59 +00:00
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
|
|
name = "hy-${version}";
|
2019-05-01 18:18:50 +01:00
|
|
|
version = "0.16.0";
|
2017-01-18 14:32:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/h/hy/${name}.tar.gz";
|
2019-05-01 18:18:50 +01:00
|
|
|
sha256 = "00lq38ppikrpyw38fn5iy9iwrsamsv22507cp146dsjbzkwjpzrd";
|
2017-01-18 14:32:59 +00:00
|
|
|
};
|
|
|
|
|
2019-05-01 18:18:50 +01:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "bytecode-error-handling.patch";
|
|
|
|
url = "https://github.com/hylang/hy/commit/57326785b97b7b0a89f6258fe3d04dccdc06cfc0.patch";
|
|
|
|
sha256 = "1lxxs7mxbh0kaaa25b1pbqs9d8asyjnlf2n86qg8hzsv32jfcq92";
|
|
|
|
excludes = [ "AUTHORS" "NEWS.rst" ];
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2018-10-30 00:07:07 +00:00
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
|
|
appdirs
|
|
|
|
astor
|
|
|
|
clint
|
2019-05-01 18:18:50 +01:00
|
|
|
fastentrypoints
|
2018-10-30 00:07:07 +00:00
|
|
|
funcparserlib
|
|
|
|
rply
|
|
|
|
];
|
2018-02-24 21:37:58 +00:00
|
|
|
|
2017-01-18 14:32:59 +00:00
|
|
|
meta = {
|
|
|
|
description = "A LISP dialect embedded in Python";
|
|
|
|
homepage = http://hylang.org/;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
2017-01-19 15:48:27 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.nixy ];
|
2017-01-18 14:32:59 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|