3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/mbed-cli/default.nix

35 lines
686 B
Nix
Raw Normal View History

2019-02-19 19:43:18 +00:00
{ lib, python3Packages, 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
};
2019-02-19 19:43:18 +00:00
checkInputs = [
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; {
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 20:21:56 +01:00
maintainers = with maintainers; [ ];
2019-01-14 22:47:12 +00:00
};
}