Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bb5e20e4c0e5
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5f26d13f3769
Choose a head ref
  • 1 commit
  • 1 file changed
  • 2 contributors

Commits on Apr 29, 2020

  1. hy: 0.17.0 -> 0.18.0 (#84661)

    Co-Authored-By: Jon <jonringer@users.noreply.github.com>
    jjwatt and Jon authored Apr 29, 2020
    Copy the full SHA
    5f26d13 View commit details
Showing with 15 additions and 6 deletions.
  1. +15 −6 pkgs/development/interpreters/hy/default.nix
21 changes: 15 additions & 6 deletions pkgs/development/interpreters/hy/default.nix
Original file line number Diff line number Diff line change
@@ -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/";