molotov: init at 4.2.2
This commit is contained in:
parent
d00a690499
commit
3e988dfb33
31
pkgs/applications/video/molotov/default.nix
Normal file
31
pkgs/applications/video/molotov/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ appimageTools, lib, fetchurl }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "molotov";
|
||||||
|
version = "4.2.2";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://desktop-auto-upgrade.molotov.tv/linux/${version}/molotov.AppImage";
|
||||||
|
sha256 = "00p8srf4yswbihlsi3s7kfkav02h902yvrq99wys11is63n01x8z";
|
||||||
|
};
|
||||||
|
appimageContents = appimageTools.extractType2 { inherit name src; };
|
||||||
|
in
|
||||||
|
appimageTools.wrapType2 {
|
||||||
|
inherit name src;
|
||||||
|
extraInstallCommands = ''
|
||||||
|
mv $out/bin/${name} $out/bin/${pname}
|
||||||
|
install -m 444 -D \
|
||||||
|
${appimageContents}/${pname}.desktop \
|
||||||
|
$out/share/applications/${pname}.desktop
|
||||||
|
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||||
|
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||||
|
cp -r ${appimageContents}/usr/share/icons $out/share
|
||||||
|
'';
|
||||||
|
meta = with lib; {
|
||||||
|
description = "French TV service";
|
||||||
|
homepage = "https://www.molotov.tv/";
|
||||||
|
license = with licenses; [ unfree ];
|
||||||
|
maintainers = with maintainers; [ apeyroux freezeboy ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
@ -5388,6 +5388,8 @@ in
|
|||||||
|
|
||||||
molly-guard = callPackage ../os-specific/linux/molly-guard { };
|
molly-guard = callPackage ../os-specific/linux/molly-guard { };
|
||||||
|
|
||||||
|
molotov = callPackage ../applications/video/molotov {};
|
||||||
|
|
||||||
moneyplex = callPackage ../applications/office/moneyplex { };
|
moneyplex = callPackage ../applications/office/moneyplex { };
|
||||||
|
|
||||||
monit = callPackage ../tools/system/monit { };
|
monit = callPackage ../tools/system/monit { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user