2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, python310
|
|
|
|
, tcl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "banana-vera";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.3.0-fedora38";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Epitech";
|
|
|
|
repo = "banana-vera";
|
|
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-sSN3trSySJe3KVyrb/hc5HUGRS4M3c4UX9SLlzBM43c";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [
|
|
|
|
python310
|
|
|
|
python310.pkgs.boost
|
|
|
|
tcl
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DVERA_LUA=OFF"
|
|
|
|
"-DVERA_USE_SYSTEM_BOOST=ON"
|
|
|
|
"-DPANDOC=OFF"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
mainProgram = "vera++";
|
|
|
|
description = "A fork of vera using python3.10";
|
|
|
|
homepage = "https://github.com/Epitech/banana-vera";
|
|
|
|
license = lib.licenses.boost;
|
|
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
|
|
|
};
|
|
|
|
})
|