hy: 0.17.0 -> 0.18.0 (#84661)

Co-Authored-By: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
Jesse Wattenbarger 2020-04-29 17:19:15 -04:00 committed by GitHub
parent bb5e20e4c0
commit 5f26d13f37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,32 @@
{ stdenv, fetchurl, python2Packages }:
{ stdenv, python3Packages }:
python2Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "hy";
version = "0.17.0";
version = "0.18.0";
src = python2Packages.fetchPypi {
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "1gdbqsirsdxj320wnp7my5awzs1kfs6m4fqmkzbd1zd47qzj0zfi";
sha256 = "04dfwm336gw61fmgwikvh0cnxk682p19b4w555wl5d7mlym4rwj2";
};
propagatedBuildInputs = with python2Packages; [
checkInputs = with python3Packages; [ flake8 pytest ];
propagatedBuildInputs = with python3Packages; [
appdirs
astor
clint
colorama
fastentrypoints
funcparserlib
rply
pygments
];
# Hy does not include tests in the source distribution from PyPI, so only test executable.
checkPhase = ''
$out/bin/hy --help > /dev/null
'';
meta = with stdenv.lib; {
description = "A LISP dialect embedded in Python";
homepage = "http://hylang.org/";