hy: init at 0.11.1

This is the hy language, a dialect of lisp designed to be closely
intergrated with python.
This commit is contained in:
Andrew R. M 2017-01-18 09:32:59 -05:00
parent e17b483669
commit b8acb928cc
4 changed files with 61 additions and 0 deletions

View File

@ -329,6 +329,7 @@
nicknovitski = "Nick Novitski <nixpkgs@nicknovitski.com>";
nico202 = "Nicolò Balzarotti <anothersms@gmail.com>";
NikolaMandic = "Ratko Mladic <nikola@mandic.email>";
nixy = "Andrew R. M. <andrewmiller237@gmail.com>";
notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>";
np = "Nicolas Pouillard <np.nix@nicolaspouillard.fr>";
nslqqq = "Nikita Mikhailov <nslqqq@gmail.com>";

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "hy-${version}";
version = "0.11.1";
src = fetchurl {
url = "mirror://pypi/h/hy/${name}.tar.gz";
sha256 = "1msqv747iz12r73mz4qvsmlwkddwjvrahlrk7ysrcz07h7dsscxs";
};
buildInputs = [ pythonPackages.appdirs ];
propagatedBuildInputs = [ pythonPackages.clint pythonPackages.astor pythonPackages.rply ];
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;
};
}

View File

@ -17923,4 +17923,6 @@ in
fpm2 = callPackage ../tools/security/fpm2 { };
simplenote = callPackage ../applications/misc/simplenote { };
hy = callPackage ../development/interpreters/hy {};
}

View File

@ -1064,6 +1064,23 @@ in {
};
};
astor = buildPythonPackage rec {
name = "astor-${version}";
version = "0.5";
src = pkgs.fetchurl {
url = "mirror://pypi/a/astor/${name}.tar.gz";
sha256 = "1fdafq5hkis1fxqlmhw0sn44zp2ar46nxhbc22cvwg7hsd8z5gsa";
};
meta = with pkgs.stdenv.lib; {
descriptions = "Library for reading, writing and rewriting python AST";
homepage = https://github.com/berkerpeksag/astor;
license = licenses.bsd3;
maintainers = with maintainers; [ nixy ];
};
};
asyncio = if (pythonAtLeast "3.3") then buildPythonPackage rec {
name = "asyncio-${version}";
version = "3.4.3";
@ -22797,6 +22814,25 @@ in {
});
rply = buildPythonPackage rec {
name = "rply-${version}";
version = "0.7.4";
src = pkgs.fetchurl {
url = "mirror://pypi/r/rply/${name}.tar.gz";
sha256 = "12rp1d9ba7nvd5rhaxi6xzx1rm67r1k1ylsrkzhpwnphqpb06cvj";
};
buildInputs = with self; [ appdirs ];
meta = with pkgs.stdenv.lib; {
descriptions = "A python Lex/Yacc that works with RPython";
homepage = https://github.com/alex/rply;
license = licenses.bsd3;
maintainers = with maintainers; [ nixy ];
};
};
rpm = (pkgs.rpm.override{inherit python;});
rpy2 = buildPythonPackage rec {