about summary refs log tree commit diff
path: root/pkgs/by-name/co/converseen
diff options
context:
space:
mode:
authoréclairevoyant2023-12-05 10:47:48 -0500
committeréclairevoyant2024-02-11 19:38:22 -0500
commit05d1bac6199a2ab7810c32fb1e15d72a984e45e6 (patch)
treefdfd37304c6b26c322b424d6719f24769dcf6886 /pkgs/by-name/co/converseen
parente5bc23348e70281084073ea1af3e68689456e68c (diff)
converseen: init at 0.12.1.0
Diffstat (limited to 'pkgs/by-name/co/converseen')
-rw-r--r--pkgs/by-name/co/converseen/package.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/by-name/co/converseen/package.nix b/pkgs/by-name/co/converseen/package.nix
new file mode 100644
index 000000000000..3fd8cd883b35
--- /dev/null
+++ b/pkgs/by-name/co/converseen/package.nix
@@ -0,0 +1,49 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, cmake
+, imagemagick
+, pkg-config
+, qt5
+, nix-update-script
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "converseen";
+  version = "0.12.1.0";
+
+  src = fetchFromGitHub {
+    owner = "Faster3ck";
+    repo = "Converseen";
+    rev = "refs/tags/v${finalAttrs.version}";
+    hash = "sha256-WGOmnaO9IAcsOg5W2kJ1dxOk1ndn6InCVVN4FTehKTk=";
+  };
+
+  strictDeps = true;
+
+  enableParallelBuilding = true;
+
+  nativeBuildInputs = [
+    cmake
+    pkg-config
+    qt5.wrapQtAppsHook
+  ];
+
+  buildInputs = [
+    imagemagick
+    qt5.qtbase
+    qt5.qttools
+  ];
+
+  passthru.updateScript = nix-update-script { };
+
+  meta = {
+    description = "Batch image converter and resizer";
+    homepage = "https://converseen.fasterland.net/";
+    changelog = "https://github.com/Faster3ck/Converseen/blob/${finalAttrs.src.rev}/CHANGELOG";
+    license = lib.licenses.gpl3Plus;
+    maintainers = with lib.maintainers; [ eclairevoyant ];
+    mainProgram = "converseen";
+    platforms = lib.platforms.all;
+  };
+})