-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kilgarragh
committed
Jan 15, 2025
1 parent
e284359
commit 1319361
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
autoPatchelfHook, | ||
fetchurl, | ||
ffmpeg, | ||
lib, | ||
libqt5pas, | ||
libX11, | ||
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 | ||
]; | ||
|
||
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 frontend (GUI) exposing some of its features."; | ||
homepage = "https://sites.google.com/site/dmsimpleapps"; | ||
license = licenses.unfreeRedistributable; | ||
maintainers = with maintainers; [ | ||
kilgarragh | ||
]; | ||
platforms = [ "x86_64-linux" ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters