Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

57 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchurl,
qmake,
wrapQtAppsHook,
ffmpeg_6,
qtmultimedia,
qwt,
}:
stdenv.mkDerivation rec {
pname = "qctools";
version = "1.4";
src = fetchurl {
url = "https://mediaarea.net/download/source/${pname}/${version}/${pname}_${version}.tar.xz";
hash = "sha256-1WqCP/4PV8hQT8ubPxHGTwZrRnOPm+msEPBGR4gkWhA=";
};
sourceRoot = "${pname}/Project/QtCreator";
nativeBuildInputs = [
qmake
wrapQtAppsHook
];
buildInputs = [
ffmpeg_6
qtmultimedia
qwt
];
installPhase = ''
runHook preInstall
install -Dt $out/bin qctools-cli/qcli qctools-gui/QCTools
cd ../GNU/GUI
install -Dm644 qctools.desktop $out/share/applications/qctools.desktop
install -Dm644 qctools.metainfo.xml $out/share/metainfo/qctools.metainfo.xml
cd ../../../Source/Resource
install -Dm 0644 Logo.png $out/share/icons/hicolor/256x256/apps/qctools.png
install -Dm 0644 Logo.png $out/share/pixmaps/qctools.png
cd ../../Project/QtCreator
runHook postInstall
'';
meta = {
description = "Audiovisual analytics and filtering of video files";
homepage = "https://mediaarea.net/QCTools";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ orivej ];
platforms = lib.platforms.linux;
};
}