Merge pull request #21973 from nixy/init/hy

hy: init at 0.11.1
This commit is contained in:
Michael Raskin 2017-01-19 09:32:09 +00:00 committed by GitHub
commit 90e7568bfc
4 changed files with 61 additions and 0 deletions

View File

@ -333,6 +333,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

@ -18012,4 +18012,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";
@ -22885,6 +22902,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 {