at 23.05-pre 1.6 kB view raw
1{ lib 2, buildPythonPackage 3, colorama 4, configobj 5, fetchPypi 6, packaging 7, pykwalify 8, pythonOlder 9, pyyaml 10}: 11 12buildPythonPackage rec { 13 pname = "west"; 14 version = "0.14.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-mlKnhWX9TWnGS3XFSfYbExiSsbbSbBzBYs3q0aPPS48="; 22 }; 23 24 propagatedBuildInputs = [ 25 colorama 26 configobj 27 packaging 28 pyyaml 29 pykwalify 30 ]; 31 32 # pypi package does not include tests (and for good reason): 33 # tests run under 'tox' and have west try to git clone repos (not sandboxable) 34 doCheck = false; 35 36 pythonImportsCheck = [ 37 "west" 38 ]; 39 40 meta = with lib; { 41 description = "Zephyr RTOS meta tool"; 42 longDescription = '' 43 West lets you manage multiple Git repositories under a single directory using a single file, 44 called the west manifest file, or manifest for short. 45 46 The manifest file is named west.yml. 47 You use west init to set up this directory, 48 then west update to fetch and/or update the repositories 49 named in the manifest. 50 51 By default, west uses upstream Zephyrs manifest file 52 (https://github.com/zephyrproject-rtos/zephyr/blob/master/west.yml), 53 but west doesnt care if the manifest repository is a Zephyr tree or not. 54 55 For more details, see Multiple Repository Management in the west documentation 56 (https://docs.zephyrproject.org/latest/guides/west/repo-tool.html). 57 ''; 58 homepage = "https://github.com/zephyrproject-rtos/west"; 59 license = licenses.asl20; 60 maintainers = with maintainers; [ siriobalmelli ]; 61 }; 62}