Skip to content

Commit

Permalink
python3Packages.west: init at 0.7.2
Browse files Browse the repository at this point in the history
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Co-authored-by: Joh <jonringer@users.noreply.github.com>
  • Loading branch information
siriobalmelli and Joh committed Jul 31, 2020
1 parent 1d330c5 commit b14be72
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
53 changes: 53 additions & 0 deletions pkgs/development/python-modules/west/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7679,6 +7679,8 @@ in {

pykwalify = callPackage ../development/python-modules/pykwalify { };

west = callPackage ../development/python-modules/west { };

wfuzz = callPackage ../development/python-modules/wfuzz { };

wget = callPackage ../development/python-modules/wget { };
Expand Down

0 comments on commit b14be72

Please sign in to comment.