nixpkgs/pkgs/development/python-modules/buildstream-plugins/default.nix
Dom Rodriguez f8a58eb351
buildstream-plugins: ignore Git tags containing *dev*
Tags containing `*dev*` on official BuildStream projects are for
pre-releases, and should not be included in the passthru updateScript.

This is needed after https://github.com/NixOS/nixpkgs/pull/493236 showed
a issue with the updateScript.
2026-03-05 15:44:01 +00:00

44 lines
971 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
setuptools,
cython,
}:
buildPythonPackage rec {
pname = "buildstream-plugins";
version = "2.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "apache";
repo = "buildstream-plugins";
tag = version;
hash = "sha256-nWs18iYXRcEIWVvIC3pnbhczK7Fxf2Jqk4GT7Dv0EXs=";
};
build-system = [
cython
setuptools
];
# Do not run pyTest, causes infinite recursion as `buildstream-plugins`
# depends on `Buildstream`, and vice-versa for tests.
# May be fixable by skipping certain tests? TODO.
pythonImportsCheck = [ "buildstream_plugins" ];
passthru.updateScript = gitUpdater {
ignoredVersions = "dev";
};
meta = {
description = "BuildStream plugins";
homepage = "https://github.com/apache/buildstream-plugins";
platforms = lib.platforms.linux;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ shymega ];
};
}