about summary refs log tree commit diff
path: root/pkgs/development/tools/analysis/banana-vera
diff options
context:
space:
mode:
authorSigmanificient <edhyjox@gmail.com>2023-06-02 00:22:22 +0200
committerSigmanificient <edhyjox@gmail.com>2023-06-14 19:53:43 +0200
commitbbe26112d429e1a648539b043bc21ee0120da17e (patch)
tree95f47f11882d6fc2e722d7372d344ab4464b0899 /pkgs/development/tools/analysis/banana-vera
parent786292291ab453c93e5923aad62faf3e4544e423 (diff)
vera: init at 1.3.0
Diffstat (limited to 'pkgs/development/tools/analysis/banana-vera')
-rw-r--r--pkgs/development/tools/analysis/banana-vera/default.nix41
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;
+  };
+})