3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/hy/default.nix

38 lines
856 B
Nix
Raw Normal View History

{ stdenv, python3Packages }:
python3Packages.buildPythonApplication rec {
2019-07-04 11:09:28 +01:00
pname = "hy";
version = "0.18.0";
src = python3Packages.fetchPypi {
2019-07-04 11:09:28 +01:00
inherit pname version;
sha256 = "04dfwm336gw61fmgwikvh0cnxk682p19b4w555wl5d7mlym4rwj2";
};
checkInputs = with python3Packages; [ flake8 pytest ];
propagatedBuildInputs = with python3Packages; [
2018-10-30 00:07:07 +00:00
appdirs
astor
clint
colorama
fastentrypoints
2018-10-30 00:07:07 +00:00
funcparserlib
rply
pygments
2018-10-30 00:07:07 +00:00
];
2018-02-24 21:37:58 +00:00
# Hy does not include tests in the source distribution from PyPI, so only test executable.
checkPhase = ''
$out/bin/hy --help > /dev/null
'';
2019-07-04 11:09:28 +01:00
meta = with stdenv.lib; {
description = "A LISP dialect embedded in Python";
2019-07-04 11:09:28 +01:00
homepage = "http://hylang.org/";
license = licenses.mit;
maintainers = with maintainers; [ nixy ];
platforms = platforms.all;
};
}