Merge pull request #294765 from wineee/cpeditor

cpeditor: 6.11.2 -> 7.0.1

authored by Doron Behar and committed by GitHub d03ae62e f94467a5

+5 -6
+5 -6
pkgs/applications/editors/cpeditor/default.nix
··· 5 5 , qtbase 6 6 , qttools 7 7 , wrapQtAppsHook 8 + , syntax-highlighting 8 9 , cmake 9 10 , ninja 10 11 , python3 ··· 13 14 14 15 stdenv.mkDerivation rec { 15 16 pname = "cpeditor"; 16 - version = "6.11.2"; 17 + version = "7.0.1"; 17 18 18 19 src = fetchFromGitHub { 19 20 owner = "cpeditor"; 20 21 repo = "cpeditor"; 21 22 rev = version; 22 - sha256 = "sha256-zotbXzRjIwZdYluJiz6GWUIOXl/wz1TWt+dcTwMhURo="; 23 + hash = "sha256-t7nn3sO45dOQq5OMWhaseO9XHicQ/1fjukXal5yPMgY"; 23 24 fetchSubmodules = true; 24 25 }; 25 26 26 27 nativeBuildInputs = [ cmake ninja pkg-config wrapQtAppsHook python3 ]; 27 - buildInputs = [ qtbase qttools ]; 28 + buildInputs = [ qtbase qttools syntax-highlighting ]; 28 29 29 30 postPatch = '' 30 - substituteInPlace src/Core/Runner.cpp --replace "/bin/bash" "${runtimeShell}" 31 + substituteInPlace src/Core/Runner.cpp --replace-fail "/bin/bash" "${runtimeShell}" 31 32 ''; 32 - 33 - env.NIX_CFLAGS_COMPILE = "-std=c++14"; 34 33 35 34 meta = with lib; { 36 35 description = "An IDE specially designed for competitive programming";