diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 6ac420d3e177..f04af4c899df 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14794,6 +14794,12 @@ githubId = 16090; name = "Yann Hodique"; }; + sigmanificient = { + email = "sigmanificient@gmail.com"; + github = "Sigmanificient"; + githubId = 53050011; + name = "Yohann Boniface"; + }; sikmir = { email = "sikmir@disroot.org"; github = "sikmir"; diff --git a/pkgs/development/tools/analysis/banana-vera/default.nix b/pkgs/development/tools/analysis/banana-vera/default.nix new file mode 100644 index 000000000000..0511f4ccbe70 --- /dev/null +++ b/pkgs/development/tools/analysis/banana-vera/default.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, python310 +, tcl +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "banana-vera"; + version = "1.3.0-python3.10"; + + src = fetchFromGitHub { + owner = "Epitech"; + repo = "banana-vera"; + rev = "refs/tags/v${finalAttrs.version}"; + hash = "sha256-1nAKhUltQS1301JNrr0PQQrrf2W9Hj5gk1nbUhN4cXw="; + }; + + 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; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a779bd570e61..6bbdb9270d92 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -435,6 +435,8 @@ with pkgs; checkpwn = callPackage ../tools/misc/checkpwn { }; + banana-vera = callPackage ../development/tools/analysis/banana-vera { }; + chrysalis = callPackage ../applications/misc/chrysalis { }; ciel = callPackage ../tools/package-management/ciel { };