From 2c2fc24b899d3286774f60405888718d98211213 Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Thu, 5 Dec 2019 16:50:21 +0100 Subject: gnu: Add west. * gnu/packages/embedded.scm (west): New variable. --- gnu/packages/embedded.scm | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 429eac37c5..4087e042c6 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2016 David Craven ;;; Copyright © 2017 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice -;;; Copyright © 2018 Clément Lassieur +;;; Copyright © 2018, 2019 Clément Lassieur ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,6 +30,7 @@ (define-module (gnu packages embedded) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (guix build utils) #:use-module (gnu packages) @@ -47,6 +48,7 @@ (define-module (gnu packages embedded) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages swig) #:use-module (gnu packages texinfo) #:use-module (gnu packages xorg) @@ -1162,3 +1164,31 @@ (define-public stlink ;; The flashloaders/stm32l0x.s and flashloaders/stm32lx.s source files are ;; licensed under the GPLv2+. (license (list license:bsd-3 license:gpl2+)))) + +(define-public west + (package + (name "west") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "west" version)) + (sha256 + (base32 + "0ql6ij1hrj2ir5wkxm96zgig5qwvfwa75w77wh2y13w6b9cqcr4b")))) + (propagated-inputs + `(("python-colorama" ,python-colorama) + ("python-configobj" ,python-configobj) + ("python-pykwalify" ,python-pykwalify) + ("python-pyyaml" ,python-pyyaml))) + (build-system python-build-system) + (home-page "https://github.com/zephyrproject-rtos/west") + (synopsis "Zephyr RTOS Project meta-tool") + (description "West is the swiss-army knife command line tool of the Zephyr +project. Its built-in commands provide a multiple repository management +system with features inspired by Google’s Repo tool and Git submodules. West +simplifies configuration and is also pluggable: you can write your own west +\"extension commands\" which add additional features to west. Zephyr uses +this feature to provide conveniences for building applications, flashing and +debugging them, and more.") + (license license:expat))) -- cgit v1.2.3