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:
parent
e17b483669
commit
b8acb928cc
@ -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>";
|
||||
|
22
pkgs/development/interpreters/hy/default.nix
Normal file
22
pkgs/development/interpreters/hy/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -17923,4 +17923,6 @@ in
|
||||
fpm2 = callPackage ../tools/security/fpm2 { };
|
||||
|
||||
simplenote = callPackage ../applications/misc/simplenote { };
|
||||
|
||||
hy = callPackage ../development/interpreters/hy {};
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user