Merge pull request #21973 from nixy/init/hy

hy: init at 0.11.1

authored by Michael Raskin and committed by GitHub 90e7568b 91852be5

+61
+1
lib/maintainers.nix
··· 333 nicknovitski = "Nick Novitski <nixpkgs@nicknovitski.com>"; 334 nico202 = "Nicolò Balzarotti <anothersms@gmail.com>"; 335 NikolaMandic = "Ratko Mladic <nikola@mandic.email>"; 336 notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>"; 337 np = "Nicolas Pouillard <np.nix@nicolaspouillard.fr>"; 338 nslqqq = "Nikita Mikhailov <nslqqq@gmail.com>";
··· 333 nicknovitski = "Nick Novitski <nixpkgs@nicknovitski.com>"; 334 nico202 = "Nicolò Balzarotti <anothersms@gmail.com>"; 335 NikolaMandic = "Ratko Mladic <nikola@mandic.email>"; 336 + nixy = "Andrew R. M. <andrewmiller237@gmail.com>"; 337 notthemessiah = "Brian Cohen <brian.cohen.88@gmail.com>"; 338 np = "Nicolas Pouillard <np.nix@nicolaspouillard.fr>"; 339 nslqqq = "Nikita Mikhailov <nslqqq@gmail.com>";
+22
pkgs/development/interpreters/hy/default.nix
···
··· 1 + { stdenv, fetchurl, pythonPackages }: 2 + 3 + pythonPackages.buildPythonApplication rec { 4 + name = "hy-${version}"; 5 + version = "0.11.1"; 6 + 7 + src = fetchurl { 8 + url = "mirror://pypi/h/hy/${name}.tar.gz"; 9 + sha256 = "1msqv747iz12r73mz4qvsmlwkddwjvrahlrk7ysrcz07h7dsscxs"; 10 + }; 11 + 12 + buildInputs = [ pythonPackages.appdirs ]; 13 + propagatedBuildInputs = [ pythonPackages.clint pythonPackages.astor pythonPackages.rply ]; 14 + 15 + meta = { 16 + description = "A LISP dialect embedded in Python"; 17 + homepage = http://hylang.org/; 18 + license = stdenv.lib.licenses.mit; 19 + maintainers = stdenv.lib.maintainers.nixy; 20 + platforms = stdenv.lib.platforms.all; 21 + }; 22 + }
+2
pkgs/top-level/all-packages.nix
··· 18012 fpm2 = callPackage ../tools/security/fpm2 { }; 18013 18014 simplenote = callPackage ../applications/misc/simplenote { }; 18015 }
··· 18012 fpm2 = callPackage ../tools/security/fpm2 { }; 18013 18014 simplenote = callPackage ../applications/misc/simplenote { }; 18015 + 18016 + hy = callPackage ../development/interpreters/hy {}; 18017 }
+36
pkgs/top-level/python-packages.nix
··· 1064 }; 1065 }; 1066 1067 asyncio = if (pythonAtLeast "3.3") then buildPythonPackage rec { 1068 name = "asyncio-${version}"; 1069 version = "3.4.3"; ··· 22884 rpm pyopenssl ]; 22885 22886 }); 22887 22888 rpm = (pkgs.rpm.override{inherit python;}); 22889
··· 1064 }; 1065 }; 1066 1067 + astor = buildPythonPackage rec { 1068 + name = "astor-${version}"; 1069 + version = "0.5"; 1070 + 1071 + src = pkgs.fetchurl { 1072 + url = "mirror://pypi/a/astor/${name}.tar.gz"; 1073 + sha256 = "1fdafq5hkis1fxqlmhw0sn44zp2ar46nxhbc22cvwg7hsd8z5gsa"; 1074 + }; 1075 + 1076 + meta = with pkgs.stdenv.lib; { 1077 + descriptions = "Library for reading, writing and rewriting python AST"; 1078 + homepage = https://github.com/berkerpeksag/astor; 1079 + license = licenses.bsd3; 1080 + maintainers = with maintainers; [ nixy ]; 1081 + }; 1082 + }; 1083 + 1084 asyncio = if (pythonAtLeast "3.3") then buildPythonPackage rec { 1085 name = "asyncio-${version}"; 1086 version = "3.4.3"; ··· 22901 rpm pyopenssl ]; 22902 22903 }); 22904 + 22905 + rply = buildPythonPackage rec { 22906 + name = "rply-${version}"; 22907 + version = "0.7.4"; 22908 + 22909 + src = pkgs.fetchurl { 22910 + url = "mirror://pypi/r/rply/${name}.tar.gz"; 22911 + sha256 = "12rp1d9ba7nvd5rhaxi6xzx1rm67r1k1ylsrkzhpwnphqpb06cvj"; 22912 + }; 22913 + 22914 + buildInputs = with self; [ appdirs ]; 22915 + 22916 + meta = with pkgs.stdenv.lib; { 22917 + descriptions = "A python Lex/Yacc that works with RPython"; 22918 + homepage = https://github.com/alex/rply; 22919 + license = licenses.bsd3; 22920 + maintainers = with maintainers; [ nixy ]; 22921 + }; 22922 + }; 22923 22924 rpm = (pkgs.rpm.override{inherit python;}); 22925