mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
42 lines
1.4 KiB
Nix
42 lines
1.4 KiB
Nix
{ lib, fetchurl, appimageTools }:
|
|
|
|
let
|
|
pname = "polypane";
|
|
version = "13.0.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/firstversionist/${pname}/releases/download/v${version}/${pname}-${version}.AppImage";
|
|
name = "${pname}-${version}.AppImage";
|
|
sha256 = "sha256-wMWO8eRH8O93m4/HaRTdG3DhyCvHWw+s3sAtN+VLBeY=";
|
|
};
|
|
|
|
appimageContents = appimageTools.extractType2 {
|
|
inherit pname src version;
|
|
};
|
|
in appimageTools.wrapType2 {
|
|
inherit pname src version;
|
|
|
|
multiPkgs = null;
|
|
extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs ++ [ pkgs.bash ];
|
|
|
|
extraInstallCommands = ''
|
|
ln -s $out/bin/${pname}-${version} $out/bin/${pname}
|
|
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
|
|
install -m 444 -D ${appimageContents}/${pname}.png \
|
|
$out/share/icons/hicolor/512x512/apps/${pname}.png
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Browser with unified devtools targeting responsability and acessibility";
|
|
longDescription = ''
|
|
The stand-alone browser for ambitious developers that want to build responsive,
|
|
accessible and performant websites in a fraction of the time it takes with other browsers.
|
|
'';
|
|
homepage = "https://polypane.app/";
|
|
maintainers = with maintainers; [ zoedsoupe ];
|
|
platforms = [ "x86_64-linux" ];
|
|
changelog = "https://polypane.app/docs/changelog/";
|
|
license = licenses.unfree;
|
|
};
|
|
}
|