Refactor: consolidate packages into flake-hub

This commit is contained in:
Oleks
2026-03-13 00:31:12 +02:00
parent 18ff5e1de5
commit ef49e03f76
3 changed files with 62 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
{ python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "xonsh";
version = "0.22.7";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-gPApjBEctw1eLWN5gtz0ArJXPOcSqwyBNJBHdFMdRwk=";
};
# xonsh uses pyproject.toml setuptools
format = "pyproject";
build-system = [ python3Packages.setuptools ];
propagatedBuildInputs = with python3Packages; [
ply
prompt-toolkit
pygments
];
doCheck = false;
meta = {
description = "Python-powered shell that combines Python with shell features";
homepage = "https://xon.sh";
license = python3Packages.setuptools.meta.bsd3 or python3Packages.setuptools.meta.license;
};
}