Skip to content

Commit

Permalink
responsively-app: init at 1.15.0 (NixOS#307444)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther authored Dec 16, 2024
2 parents 524f641 + 4923105 commit cf6ac4f
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pkgs/by-name/re/responsively-app/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
lib,
fetchurl,
appimageTools,
}:

appimageTools.wrapType2 rec {
pname = "responsively-app";
version = "1.15.0";

src = fetchurl {
url = "https://github.com/responsively-org/responsively-app-releases/releases/download/v${version}/ResponsivelyApp-${version}.AppImage";
hash = "sha256-BkljY8Il45A2JbsLgQbjsxCy0lnFZvtpc5HzvI1nwWk=";
};

appimageContents = appimageTools.extract {
inherit pname version src;
};

extraInstallCommands = ''
install -m 444 -D ${appimageContents}/responsivelyapp.desktop $out/share/applications/responsivelyapp.desktop
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/responsivelyapp.png \
$out/share/icons/hicolor/512x512/apps/responsivelyapp.png
substituteInPlace $out/share/applications/responsivelyapp.desktop \
--replace-fail 'Exec=AppRun' 'Exec=${pname}'
'';

meta = {
description = "Modified web browser that helps in responsive web development";
mainProgram = "responsively-desktop";
homepage = "https://responsively.app/";
changelog = "https://github.com/responsively-org/responsively-app/releases/tag/v${version}";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ kashw2 ];
platforms = [ "x86_64-linux" ];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
}

0 comments on commit cf6ac4f

Please sign in to comment.