Merge pull request #148264 from marsam/update-jtc

jtc: 1.75d -> 1.76
This commit is contained in:
Mario Rodas
2021-12-02 09:43:43 -05:00
committed by GitHub

View File

@@ -2,19 +2,19 @@
stdenv.mkDerivation rec {
pname = "jtc";
version = "1.75d";
version = "1.76";
src = fetchFromGitHub {
owner = "ldn-softdev";
repo = pname;
rev = version;
sha256 = "0vgb5hcgml0vmdal494231jq6dlr0qgssqhnrgsvqqjapy8xhnpw";
sha256 = "sha256-VATRlOOV4wBInLOm9J0Dp2vhtL5mb0Yxdl/ya0JiqEU=";
};
buildPhase = ''
runHook preBuild
$CXX -o jtc -Wall -std=gnu++14 -Ofast jtc.cpp
$CXX -o jtc -Wall -std=gnu++14 -Ofast -pthread -lpthread jtc.cpp
runHook postBuild
'';