raven-reader: init at 1.0.72
This commit is contained in:
parent
4494574643
commit
1905c075b0
|
@ -0,0 +1,38 @@
|
|||
{ lib, fetchurl, appimageTools }:
|
||||
|
||||
let
|
||||
pname = "raven-reader";
|
||||
version = "1.0.72";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hello-efficiency-inc/raven-reader/releases/download/v${version}/Raven-Reader-${version}.AppImage";
|
||||
sha256 = "sha256-Sx02VMAgmncT9f5Hvs0LugzhD6Z8cWXHx4kn8IG9seU=";
|
||||
};
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
|
||||
extraInstallCommands = ''
|
||||
mv $out/bin/${pname}-${version} $out/bin/${pname}
|
||||
|
||||
mkdir -p $out/share/${pname}
|
||||
cp -a ${appimageContents}/locales $out/share/${pname}
|
||||
cp -a ${appimageContents}/resources $out/share/${pname}
|
||||
|
||||
install -m 444 -D ${appimageContents}/raven-reader.desktop -t $out/share/applications
|
||||
|
||||
cp -a ${appimageContents}/usr/share/icons $out/share/
|
||||
|
||||
substituteInPlace $out/share/applications/raven-reader.desktop \
|
||||
--replace 'Exec=AppRun' 'Exec=raven-reader'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source desktop news reader with flexible settings to optimize your experience";
|
||||
homepage = "https://ravenreader.app/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ wolfangaukang ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
|
@ -4250,6 +4250,8 @@ with pkgs;
|
|||
|
||||
rav1e = callPackage ../tools/video/rav1e { };
|
||||
|
||||
raven-reader = callPackage ../applications/networking/newsreaders/raven-reader { };
|
||||
|
||||
razergenie = libsForQt5.callPackage ../applications/misc/razergenie { };
|
||||
|
||||
replay-sorcery = callPackage ../tools/video/replay-sorcery { };
|
||||
|
|
Loading…
Reference in a new issue