depot/third_party/nixpkgs/pkgs/development/tools/analysis/banana-vera/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

41 lines
858 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, python310
, tcl
}:
stdenv.mkDerivation (finalAttrs: {
pname = "banana-vera";
version = "1.3.0-fedora38";
src = fetchFromGitHub {
owner = "Epitech";
repo = "banana-vera";
rev = "refs/tags/v${finalAttrs.version}";
sha256 = "sha256-sSN3trSySJe3KVyrb/hc5HUGRS4M3c4UX9SLlzBM43c";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
python310
python310.pkgs.boost
tcl
];
cmakeFlags = [
"-DVERA_LUA=OFF"
"-DVERA_USE_SYSTEM_BOOST=ON"
"-DPANDOC=OFF"
];
meta = {
mainProgram = "vera++";
description = "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;
};
})