nixpkgs/pkgs/by-name/co/converseen/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
1017 B
Nix
Raw Normal View History

2023-12-05 15:47:48 +00:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, imagemagick
, pkg-config
, qt5
, nix-update-script
}:
stdenv.mkDerivation (finalAttrs: {
pname = "converseen";
2024-04-24 01:28:37 +00:00
version = "0.12.2.3";
2023-12-05 15:47:48 +00:00
src = fetchFromGitHub {
owner = "Faster3ck";
repo = "Converseen";
rev = "refs/tags/v${finalAttrs.version}";
2024-04-24 01:28:37 +00:00
hash = "sha256-ISXEEJHE7C1gqEmhIAPuu8ibrh0Cvh7EyRKsFeDuLDE=";
2023-12-05 15:47:48 +00:00
};
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;
};
})