nixpkgs/pkgs/development/interpreters/hy/default.nix

38 lines
962 B
Nix
Raw Normal View History

{ stdenv, fetchurl, fetchpatch, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "hy-${version}";
version = "0.16.0";
src = fetchurl {
url = "mirror://pypi/h/hy/${name}.tar.gz";
sha256 = "00lq38ppikrpyw38fn5iy9iwrsamsv22507cp146dsjbzkwjpzrd";
};
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
fastentrypoints
2018-10-30 00:07:07 +00:00
funcparserlib
rply
];
2018-02-24 21:37:58 +00:00
meta = {
description = "A LISP dialect embedded in Python";
homepage = http://hylang.org/;
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.nixy ];
platforms = stdenv.lib.platforms.all;
};
}