Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, python3Packages, fetchPypi, git, mercurial }: 2 3with python3Packages; 4 5buildPythonApplication rec { 6 pname = "mbed-cli"; 7 version = "1.9.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "1228plh55id03qywsw0ai88ypdpbh9iz18jfcyhn21pci7mj77fv"; 12 }; 13 14 nativeCheckInputs = [ 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"; 29 description = "Arm Mbed Command Line Interface"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ ]; 32 }; 33} 34