3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #55916 from rvolosatovs/update/mbed-cli

mbed-cli: 1.8.3 -> 1.9.1
This commit is contained in:
Robert Schütz 2019-02-20 17:25:26 +01:00 committed by GitHub
commit 83568dc5fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,28 @@
{ lib, python3Packages }:
{ lib, python3Packages, git, mercurial }:
with python3Packages;
buildPythonApplication rec {
pname = "mbed-cli";
version = "1.8.3";
version = "1.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "04vn2v0d7y3vmm8cswzvn2z85balgp3095n5flvgf3r60fdlhlmp";
sha256 = "1228plh55id03qywsw0ai88ypdpbh9iz18jfcyhn21pci7mj77fv";
};
doCheck = false; # no tests available in Pypi
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; {
homepage = https://github.com/ARMmbed/mbed-cli;