python3Packages.buildstream-plugins: init at 2.4.0
This commit is contained in:
parent
76efb9f313
commit
e449c6cd90
@ -13,6 +13,9 @@
|
||||
addBinToPathHook,
|
||||
gitMinimal,
|
||||
versionCheckHook,
|
||||
|
||||
# Optional features
|
||||
enableBuildstreamPlugins ? true,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
@ -53,7 +56,10 @@ python3Packages.buildPythonApplication rec {
|
||||
ruamel-yaml-clib
|
||||
tomlkit
|
||||
ujson
|
||||
]);
|
||||
])
|
||||
++ lib.optionals enableBuildstreamPlugins [
|
||||
python3Packages.buildstream-plugins
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fuse3
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
cython,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "buildstream-plugins";
|
||||
version = "2.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "buildstream-plugins";
|
||||
tag = version;
|
||||
hash = "sha256-VAHDMy4DvNneWP1jhrIZzogZ5Gz5PS/GcFpOg2cGYvs=";
|
||||
};
|
||||
|
||||
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" ];
|
||||
|
||||
meta = {
|
||||
description = "BuildStream plugins";
|
||||
homepage = "https://github.com/apache/buildstream-plugins";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ shymega ];
|
||||
};
|
||||
}
|
||||
@ -2170,6 +2170,8 @@ self: super: with self; {
|
||||
|
||||
buildcatrust = callPackage ../development/python-modules/buildcatrust { };
|
||||
|
||||
buildstream-plugins = callPackage ../development/python-modules/buildstream-plugins { };
|
||||
|
||||
bump-my-version = callPackage ../development/python-modules/bump-my-version { };
|
||||
|
||||
bump2version = callPackage ../development/python-modules/bump2version { };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user