Switch xonsh source from PyPI to GitHub tag, add Woodpecker CI
ci/woodpecker/tag/woodpecker Pipeline failed

Use fetchFromGitHub with tag = version so the version string and
source are inherently linked via rec. Adds .woodpecker.yaml to
build all flake packages on tag push.
This commit is contained in:
Oleks
2026-03-15 11:20:15 +02:00
parent 83114ba82d
commit d832787e8b
3 changed files with 22 additions and 6 deletions
+6 -4
View File
@@ -1,12 +1,14 @@
{ lib, python3Packages }:
{ lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonPackage rec {
pname = "xonsh";
version = "0.22.7";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-gPApjBEctw1eLWN5gtz0ArJXPOcSqwyBNJBHdFMdRwk=";
src = fetchFromGitHub {
owner = "xonsh";
repo = "xonsh";
tag = version;
hash = "sha256-2Gvd7jOKhouorE8wH4FaWlaw8y1h4uf/Z+sYWO96Vps=";
};
# xonsh uses pyproject.toml setuptools