python3Packages.hy: fix version

main
Thiago Kenji Okada 2 years ago
parent 72fd5b71bc
commit 927dffd2a7
  1. 10
      pkgs/development/python-modules/hy/default.nix

@ -4,10 +4,12 @@
, colorama
, fetchFromGitHub
, funcparserlib
, hy
, pytestCheckHook
, python
, pythonOlder
, rply
, testers
, hyDefinedPythonPackages ? python-packages: [] /* Packages like with python.withPackages */
}:
@ -25,6 +27,9 @@ buildPythonPackage rec {
sha256 = "sha256-MBzp3jqBg/kH233wcgYYHc+Yg9GuOaBsXIfjFDihD1E=";
};
# https://github.com/hylang/hy/blob/1.0a4/get_version.py#L9-L10
HY_VERSION = version;
propagatedBuildInputs = [
colorama
funcparserlib
@ -50,6 +55,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "hy" ];
passthru.tests.version = testers.testVersion {
package = hy;
command = "hy -v";
};
meta = with lib; {
description = "Python to/from Lisp layer";
homepage = "https://github.com/hylang/hy";

Loading…
Cancel
Save