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