python3Packages.buildstream-plugins: init at 2.4.0 (#398620)

authored by Gaétan Lepage and committed by GitHub b70fda5e 481aa4ed

+48 -1
+7 -1
pkgs/by-name/bu/buildstream/package.nix
··· 13 13 addBinToPathHook, 14 14 gitMinimal, 15 15 versionCheckHook, 16 + 17 + # Optional features 18 + enableBuildstreamPlugins ? true, 16 19 }: 17 20 18 21 python3Packages.buildPythonApplication rec { ··· 53 56 ruamel-yaml-clib 54 57 tomlkit 55 58 ujson 56 - ]); 59 + ]) 60 + ++ lib.optionals enableBuildstreamPlugins [ 61 + python3Packages.buildstream-plugins 62 + ]; 57 63 58 64 buildInputs = [ 59 65 fuse3
+39
pkgs/development/python-modules/buildstream-plugins/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + setuptools, 6 + cython, 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "buildstream-plugins"; 11 + version = "2.4.0"; 12 + pyproject = true; 13 + 14 + src = fetchFromGitHub { 15 + owner = "apache"; 16 + repo = "buildstream-plugins"; 17 + tag = version; 18 + hash = "sha256-VAHDMy4DvNneWP1jhrIZzogZ5Gz5PS/GcFpOg2cGYvs="; 19 + }; 20 + 21 + build-system = [ 22 + cython 23 + setuptools 24 + ]; 25 + 26 + # Do not run pyTest, causes infinite recursion as `buildstream-plugins` 27 + # depends on `Buildstream`, and vice-versa for tests. 28 + # May be fixable by skipping certain tests? TODO. 29 + 30 + pythonImportsCheck = [ "buildstream_plugins" ]; 31 + 32 + meta = { 33 + description = "BuildStream plugins"; 34 + homepage = "https://github.com/apache/buildstream-plugins"; 35 + platforms = lib.platforms.linux; 36 + license = lib.licenses.asl20; 37 + maintainers = with lib.maintainers; [ shymega ]; 38 + }; 39 + }
+2
pkgs/top-level/python-packages.nix
··· 2170 2170 2171 2171 buildcatrust = callPackage ../development/python-modules/buildcatrust { }; 2172 2172 2173 + buildstream-plugins = callPackage ../development/python-modules/buildstream-plugins { }; 2174 + 2173 2175 bump-my-version = callPackage ../development/python-modules/bump-my-version { }; 2174 2176 2175 2177 bump2version = callPackage ../development/python-modules/bump2version { };