Switch xonsh source from PyPI to GitHub tag, add Woodpecker CI
ci/woodpecker/tag/woodpecker Pipeline failed
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user