From 3745a9ebfc8b0782084a570efe1cb36985313eae Mon Sep 17 00:00:00 2001 From: Jan-Niklas Burfeind Date: Thu, 18 Jun 2026 19:10:50 +0200 Subject: [PATCH] yocto-cooker: init at 1.5.0 --- pkgs/by-name/yo/yocto-cooker/package.nix | 39 ++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pkgs/by-name/yo/yocto-cooker/package.nix diff --git a/pkgs/by-name/yo/yocto-cooker/package.nix b/pkgs/by-name/yo/yocto-cooker/package.nix new file mode 100644 index 000000000000..9f077b6665f9 --- /dev/null +++ b/pkgs/by-name/yo/yocto-cooker/package.nix @@ -0,0 +1,39 @@ +{ + lib, + fetchFromGitHub, + python3Packages, +}: + +python3Packages.buildPythonApplication (finalAttrs: { + pname = "yocto-cooker"; + version = "1.5.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "cpb-"; + repo = "yocto-cooker"; + tag = finalAttrs.version; + hash = "sha256-h4fmpYzErOiu5M7XHuqlRUvDpXUoOC0c/HGs9a5PZNg="; + }; + + build-system = with python3Packages; [ + setuptools + ]; + + dependencies = with python3Packages; [ + jsonschema + urllib3 + pyjson5 + ]; + + __structuredAttrs = true; + strictDeps = true; + + meta = { + description = "Meta buildtool for Yocto Project based Linux embedded systems"; + homepage = "https://github.com/cpb-/yocto-cooker"; + license = lib.licenses.gpl2; + maintainers = with lib.maintainers; [ aiyion ]; + mainProgram = "cooker"; + }; +})