nixpkgs/pkgs/development/tools/mbed-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
703 B
Nix
Raw Normal View History

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";
2024-01-22 10:44:05 +00:00
version = "1.10.5";
2019-01-14 22:47:12 +00:00
src = fetchPypi {
inherit pname version;
2024-01-22 10:44:05 +00:00
sha256 = "sha256-X+hNVM8fsy0VFTqFr1pPKWRimacBenTcY4y+PBJpvlI=";
2019-01-14 22:47:12 +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; {
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
};
}