Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

mbed-cli: 1.8.3 -> 1.9.1

authored by

Robert Schütz and committed by
GitHub
83568dc5 dbca3b74

+15 -4
+15 -4
pkgs/development/tools/mbed-cli/default.nix
··· 1 - { lib, python3Packages }: 2 3 with python3Packages; 4 5 buildPythonApplication rec { 6 pname = "mbed-cli"; 7 - version = "1.8.3"; 8 9 src = fetchPypi { 10 inherit pname version; 11 - sha256 = "04vn2v0d7y3vmm8cswzvn2z85balgp3095n5flvgf3r60fdlhlmp"; 12 }; 13 14 - doCheck = false; # no tests available in Pypi 15 16 meta = with lib; { 17 homepage = https://github.com/ARMmbed/mbed-cli;
··· 1 + { lib, python3Packages, git, mercurial }: 2 3 with python3Packages; 4 5 buildPythonApplication rec { 6 pname = "mbed-cli"; 7 + version = "1.9.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 + sha256 = "1228plh55id03qywsw0ai88ypdpbh9iz18jfcyhn21pci7mj77fv"; 12 }; 13 14 + checkInputs = [ 15 + git 16 + mercurial 17 + pytest 18 + ]; 19 + 20 + checkPhase = '' 21 + export GIT_COMMITTER_NAME=nixbld 22 + export EMAIL=nixbld@localhost 23 + export GIT_COMMITTER_DATE=$SOURCE_DATE_EPOCH 24 + pytest test 25 + ''; 26 27 meta = with lib; { 28 homepage = https://github.com/ARMmbed/mbed-cli;