summary refs log tree commit diff
path: root/pkgs/tools/archivers/corearchiver/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/archivers/corearchiver/default.nix')
-rw-r--r--pkgs/tools/archivers/corearchiver/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/corearchiver/default.nix b/pkgs/tools/archivers/corearchiver/default.nix
new file mode 100644
index 00000000000..217520dde99
--- /dev/null
+++ b/pkgs/tools/archivers/corearchiver/default.nix
@@ -0,0 +1,33 @@
+{ mkDerivation, lib, fetchFromGitLab, qtbase, libarchive, libarchive-qt, libcprime, cmake, ninja, }:
+
+mkDerivation rec {
+  pname = "corearchiver";
+  version = "4.2.0";
+
+  src = fetchFromGitLab {
+    owner = "cubocore/coreapps";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-FJGsQp1lbsrvlzKPiTv/FC9RH2+JRwwIvkLDTFW8t5s=";
+  };
+
+  nativeBuildInputs = [
+    cmake
+    ninja
+  ];
+
+  buildInputs = [
+    qtbase
+    libcprime
+    libarchive-qt
+    libarchive
+  ];
+
+  meta = with lib; {
+    description = "Archiver from the C Suite to create and extract archives";
+    homepage = "https://gitlab.com/cubocore/coreapps/corearchiver";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ dan4ik605743 ];
+    platforms = platforms.linux;
+  };
+}