depot/third_party/nixpkgs/pkgs/development/tools/mbed-cli/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

34 lines
703 B
Nix

{ lib, python3Packages, fetchPypi, git, mercurial }:
with python3Packages;
buildPythonApplication rec {
pname = "mbed-cli";
version = "1.10.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-X+hNVM8fsy0VFTqFr1pPKWRimacBenTcY4y+PBJpvlI=";
};
nativeCheckInputs = [
git
mercurial
pytest
];
checkPhase = ''
export GIT_COMMITTER_NAME=nixbld
export EMAIL=nixbld@localhost
export GIT_COMMITTER_DATE=$SOURCE_DATE_EPOCH
pytest test
'';
meta = with lib; {
homepage = "https://github.com/ARMmbed/mbed-cli";
description = "Arm Mbed Command Line Interface";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}