Merge pull request #148304 from wineee/cpeditor
cpeditor: init at 6.10.1
This commit is contained in:
commit
02aeade426
2 changed files with 42 additions and 0 deletions
40
pkgs/applications/editors/cpeditor/default.nix
Normal file
40
pkgs/applications/editors/cpeditor/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, qtbase
|
||||||
|
, qttools
|
||||||
|
, wrapQtAppsHook
|
||||||
|
, cmake
|
||||||
|
, ninja
|
||||||
|
, python3
|
||||||
|
, runtimeShell
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "cpeditor";
|
||||||
|
version = "6.10.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cpeditor";
|
||||||
|
repo = "cpeditor";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-SIREoOapaZTLtqi0Z07lKmNqF9a9qIpgGxuhqaY3yfU=";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ninja pkg-config wrapQtAppsHook python3 ];
|
||||||
|
buildInputs = [ qtbase qttools ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/Core/Runner.cpp --replace "/bin/bash" "${runtimeShell}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "An IDE specially designed for competitive programming";
|
||||||
|
homepage = "https://cpeditor.org";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ rewine ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -24513,6 +24513,8 @@ with pkgs;
|
||||||
ffmpeg = ffmpeg-full;
|
ffmpeg = ffmpeg-full;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cpeditor = libsForQt515.callPackage ../applications/editors/cpeditor { };
|
||||||
|
|
||||||
csa = callPackage ../applications/audio/csa { };
|
csa = callPackage ../applications/audio/csa { };
|
||||||
|
|
||||||
csound = callPackage ../applications/audio/csound { };
|
csound = callPackage ../applications/audio/csound { };
|
||||||
|
|
Loading…
Reference in a new issue