This commit is contained in:
greg-compass
2022-11-10 14:10:22 -06:00
parent 3846d860f6
commit 07053c9c57
3 changed files with 34 additions and 1 deletions
+1 -1
View File
@@ -20,6 +20,7 @@
jdk11
libtheora
synology-drive-client
vlc
x265
zoom-us
] ++ ( if pkgs.system == "x86_64-darwin" then
@@ -30,7 +31,6 @@
jellyfin-media-player
nextcloud-client
onlyoffice-bin
vlc
]
);
+1
View File
@@ -67,4 +67,5 @@ in rec {
bitwarden = macOver ./mac/bitwarden.nix "bitwarden";
gnucash = macOver ./mac/gnucash.nix "gnucash";
handbrake = macOver ./mac/handbrake.nix "handbrake";
vlc = macOver ./mac/vlc.nix "vlc";
}
+32
View File
@@ -0,0 +1,32 @@
{ stdenv, fetchurl,
undmg,
}:
stdenv.mkDerivation rec {
version = "3.0.17.3";
pname = "vlc";
buildInputs = [
undmg
];
sourceRoot = ".";
phases = [
"unpackPhase"
"installPhase"
];
installPhase = ''
mkdir -p "$out/Applications"
cp -r *.app "$out/Applications"
'';
src = fetchurl {
name = "${pname}-${version}.dmg";
url = "https://get.videolan.org/vlc/${version}/macosx/${pname}-${version}-intel64.dmg";
sha256 = "sha256-zKJn8sUa5WjgLztNimrbqHsr3l8BGiuHxZXBAtifEdg=";
};
meta = {
description = "VLC is a very versatile video player.";
homepage = "https://www.videolan.org/";
};
}