nixpkgs/pkgs/development/interpreters/hy/default.nix

38 lines
846 B
Nix
Raw Normal View History

{ lib, python3Packages }:
python3Packages.buildPythonApplication rec {
2019-07-04 10:09:28 +00:00
pname = "hy";
2020-07-26 15:03:25 +00:00
version = "0.19.0";
src = python3Packages.fetchPypi {
2019-07-04 10:09:28 +00:00
inherit pname version;
2020-07-26 15:03:25 +00:00
sha256 = "05k05qmiiysiwdc05sxmanwhv1crfwbb3l8swxfisbzbvmv1snis";
};
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
'';
meta = with lib; {
description = "A LISP dialect embedded in Python";
2019-07-04 10:09:28 +00:00
homepage = "http://hylang.org/";
license = licenses.mit;
maintainers = with maintainers; [ nixy ];
platforms = platforms.all;
};
}