Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dm-media-converter: init at 2.5.5 #373921

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11976,6 +11976,11 @@
githubId = 464625;
name = "Enric Morales";
};
kilgarragh = {
github = "Kilgarragh";
githubId = 126100118;
name = "Kilgarragh";
};
kilianar = {
email = "[email protected]";
github = "kilianar";
Expand Down
57 changes: 57 additions & 0 deletions pkgs/by-name/dm/dm-media-converter
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
autoPatchelfHook,
fetchurl,
ffmpeg,
lib,
libqt5pas,
libX11,
numactl,
qtbase,
stdenv,
wrapQtAppsHook,
}:

stdenv.mkDerivation rec {
pname = "dm-media-converter";
version = "2.5.5";

src = fetchurl {
url = "https://drive.usercontent.google.com/download?id=1xBg3mCfvl8TlB4CyacD8YQN0CvHcdn7I&export=download&confirm=t";
sha256 = "sha256-Jn/Zf5fKIzKjP7GoMuOFq4QlG29azcoEAT/qySAofLA=";
};

nativeBuildInputs = [
autoPatchelfHook
wrapQtAppsHook
];

buildInputs = [
libqt5pas
libX11
ffmpeg
qtbase
numactl
];

sourceRoot = ".";

unpackCmd = "tar -xzf $src --strip-components=1";

installPhase = ''
runHook preInstall

mkdir -p $out/bin

mv dmMediaConverter bin --target-directory $out/bin

runHook postInstall
'';

meta = with lib; {
description = "Cross-platform FFmpeg GUI supporting many common encoding options";
homepage = "https://sites.google.com/site/dmsimpleapps";
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ kilgarragh ];
platforms = [ "x86_64-linux" ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3054,6 +3054,8 @@ with pkgs;

diffutils = callPackage ../tools/text/diffutils { };

dm-media-converter = libsForQt5.callPackage ../by-name/dm/dm-media-converter { };

dmd = callPackage ../by-name/dm/dmd/package.nix ({
inherit (darwin.apple_sdk.frameworks) Foundation;
} // lib.optionalAttrs stdenv.hostPlatform.isLinux {
Expand Down
Loading