#
# Xonsh, but as a python package.
#
# vim: et:ts=2:sw=2:
#
{ 
  fetchFromGitHub,
  python3Packages,
  xonsh
}:
python3Packages.buildPythonPackage rec {
  pname = "xonsh";
  version = xonsh.version;
  format = "pyproject";

  src = fetchFromGitHub {
    owner = pname;
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-ZrPKKa/vl06QAjGr16ZzKF/DAByFHr6ze2WVOCa+wf8=";
  };

  nativeBuildInputs = with python3Packages; [
    setuptools
    wheel
  ];
}

