mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
mbed-cli: Enable tests
This commit is contained in:
parent
15b1356539
commit
dd4a1c1d66
@ -1,4 +1,4 @@
|
|||||||
{ lib, python3Packages }:
|
{ lib, python3Packages, git, mercurial }:
|
||||||
|
|
||||||
with python3Packages;
|
with python3Packages;
|
||||||
|
|
||||||
@ -11,7 +11,18 @@ buildPythonApplication rec {
|
|||||||
sha256 = "1228plh55id03qywsw0ai88ypdpbh9iz18jfcyhn21pci7mj77fv";
|
sha256 = "1228plh55id03qywsw0ai88ypdpbh9iz18jfcyhn21pci7mj77fv";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false; # Tests cannot import mbed.
|
checkInputs = [
|
||||||
|
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; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/ARMmbed/mbed-cli;
|
homepage = https://github.com/ARMmbed/mbed-cli;
|
||||||
|
Loading…
Reference in New Issue
Block a user