diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-06-16 13:47:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 13:47:40 +0200 |
commit | 9e04445ecfa1ce981486626f01ea8e13878ffe77 (patch) | |
tree | 1a53963bc2c1a476a2bce861555c0db1f4891327 /pkgs/development/tools/analysis | |
parent | 9c16766ee06adc944b9d6b67ffb6d3a4893b54f1 (diff) | |
parent | bbe26112d429e1a648539b043bc21ee0120da17e (diff) |
Merge pull request #235454 from Sigmanificient/master
Diffstat (limited to 'pkgs/development/tools/analysis')
-rw-r--r-- | pkgs/development/tools/analysis/banana-vera/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
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 0000000000000..0511f4ccbe70d --- /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; + }; +}) |