2023-05-25 18:37:59 +00:00
|
|
|
{ lib, python3Packages, fetchPypi, git, mercurial }:
|
2019-01-14 22:47:12 +00:00
|
|
|
|
|
|
|
with python3Packages;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "mbed-cli";
|
2019-02-16 20:06:03 +00:00
|
|
|
version = "1.9.1";
|
2019-01-14 22:47:12 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-16 20:06:03 +00:00
|
|
|
sha256 = "1228plh55id03qywsw0ai88ypdpbh9iz18jfcyhn21pci7mj77fv";
|
2019-01-14 22:47:12 +00:00
|
|
|
};
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2019-02-19 19:43:18 +00:00
|
|
|
git
|
|
|
|
mercurial
|
|
|
|
pytest
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
export GIT_COMMITTER_NAME=nixbld
|
|
|
|
export EMAIL=nixbld@localhost
|
|
|
|
export GIT_COMMITTER_DATE=$SOURCE_DATE_EPOCH
|
|
|
|
pytest test
|
|
|
|
'';
|
2019-01-14 22:47:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/ARMmbed/mbed-cli";
|
2019-01-14 22:47:12 +00:00
|
|
|
description = "Arm Mbed Command Line Interface";
|
|
|
|
license = licenses.asl20;
|
2021-06-29 19:21:56 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2019-01-14 22:47:12 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|