aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/west
diff options
context:
space:
mode:
authorSirio Balmelli <sirio@b-ad.ch>2020-07-01 20:34:23 +0200
committerJon <jonringer@users.noreply.github.com>2020-07-31 14:25:42 -0700
commitb14be7257a21f4f79e29696c9623a47b95328058 (patch)
tree243f54f57ba7b22046c732703f516f9c0031f7e7 /pkgs/development/python-modules/west
parent1d330c51bb884f28cda4597f14dbb2c16d5db6aa (diff)
python3Packages.west: init at 0.7.2
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch> Co-authored-by: Joh <jonringer@users.noreply.github.com>
Diffstat (limited to 'pkgs/development/python-modules/west')
-rw-r--r--pkgs/development/python-modules/west/default.nix53
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/west/default.nix b/pkgs/development/python-modules/west/default.nix
new file mode 100644
index 000000000000..3d4427f492d0
--- /dev/null
+++ b/pkgs/development/python-modules/west/default.nix
@@ -0,0 +1,53 @@
+{ lib, fetchPypi, buildPythonPackage, isPy3k
+, colorama, configobj, packaging, pyyaml, pykwalify
+}:
+
+buildPythonPackage rec {
+ version = "0.7.2";
+ pname = "west";
+
+ disabled = !isPy3k;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "11dbzlcg48fymddqjrrs60pr7y33qjjv0y5zrfjc56gkc190gmz6";
+ };
+
+ propagatedBuildInputs = [
+ colorama
+ configobj
+ packaging
+ pyyaml
+ pykwalify
+ ];
+
+ # pypi package does not include tests (and for good reason):
+ # tests run under 'tox' and have west try to git clone repos (not sandboxable)
+ doCheck = false;
+ pythonImportsCheck = [
+ "west"
+ ];
+
+ meta = with lib; {
+ homepage = "https://github.com/zephyrproject-rtos/west";
+ description = "Zephyr RTOS meta tool";
+ longDescription = ''
+ West lets you manage multiple Git repositories under a single directory using a single file,
+ called the west manifest file, or manifest for short.
+
+ The manifest file is named west.yml.
+ You use west init to set up this directory,
+ then west update to fetch and/or update the repositories
+ named in the manifest.
+
+ By default, west uses upstream Zephyr’s manifest file
+ (https://github.com/zephyrproject-rtos/zephyr/blob/master/west.yml),
+ but west doesn’t care if the manifest repository is a Zephyr tree or not.
+
+ For more details, see Multiple Repository Management in the west documentation
+ (https://docs.zephyrproject.org/latest/guides/west/repo-tool.html).
+ '';
+ license = licenses.asl20;
+ maintainers = with maintainers; [ siriobalmelli ];
+ };
+}