1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/development/tools/mbed-cli/default.nix

35 lines
698 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;
maintainers = with maintainers; [ rvolosatovs ];
};
}