Files
flake-hub/packages/xonsh-unwrapped.nix
2026-03-15 11:25:47 +02:00

36 lines
696 B
Nix

{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonPackage rec {
pname = "xonsh";
version = "0.22.7";
src = fetchFromGitHub {
owner = "xonsh";
repo = "xonsh";
tag = version;
hash = "sha256-2Gvd7jOKhouorE8wH4FaWlaw8y1h4uf/Z+sYWO96Vps=";
};
# xonsh uses pyproject.toml setuptools
format = "pyproject";
build-system = [ python3Packages.setuptools ];
propagatedBuildInputs = with python3Packages; [
ply
prompt-toolkit
pygments
];
doCheck = false;
meta = with lib; {
description = "Python-powered shell that combines Python with shell features";
homepage = "https://xon.sh";
license = licenses.bsd3;
};
}