mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #67334 from lightbulbjim/irccloud
irccloud: init at 0.13.0
This commit is contained in:
commit
3ad7a6ad0e
3 changed files with 45 additions and 0 deletions
|
@ -3514,6 +3514,11 @@
|
|||
githubId = 307589;
|
||||
name = "Nathaniel Baxter";
|
||||
};
|
||||
lightbulbjim = {
|
||||
email = "chris@killred.net";
|
||||
github = "lightbulbjim";
|
||||
name = "Chris Rendle-Short";
|
||||
};
|
||||
lightdiscord = {
|
||||
email = "root@arnaud.sh";
|
||||
github = "lightdiscord";
|
||||
|
|
38
pkgs/applications/networking/irc/irccloud/default.nix
Normal file
38
pkgs/applications/networking/irc/irccloud/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ appimageTools, fetchurl, lib }:
|
||||
|
||||
let
|
||||
pname = "irccloud";
|
||||
version = "0.13.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/irccloud/irccloud-desktop/releases/download/v${version}/IRCCloud-${version}-linux-x86_64.AppImage";
|
||||
sha256 = "0ff69m5jav2c90918avsr5wvik2gds3klij3dzhkb352fgrd1s0l";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
inherit name src;
|
||||
};
|
||||
|
||||
in appimageTools.wrapType2 rec {
|
||||
inherit name src;
|
||||
|
||||
extraPkgs = pkgs: with pkgs; [ at-spi2-core ];
|
||||
|
||||
extraInstallCommands = ''
|
||||
mv $out/bin/${name} $out/bin/${pname}
|
||||
install -m 444 -D ${appimageContents}/irccloud.desktop $out/share/applications/irccloud.desktop
|
||||
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/irccloud.png \
|
||||
$out/share/icons/hicolor/512x512/apps/irccloud.png
|
||||
substituteInPlace $out/share/applications/irccloud.desktop \
|
||||
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A desktop client for IRCCloud";
|
||||
homepage = "https://www.irccloud.com";
|
||||
license = licenses.asl20;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ lightbulbjim ];
|
||||
};
|
||||
}
|
|
@ -19017,6 +19017,8 @@ in
|
|||
|
||||
iptraf-ng = callPackage ../applications/networking/iptraf-ng { };
|
||||
|
||||
irccloud = callPackage ../applications/networking/irc/irccloud { };
|
||||
|
||||
irssi = callPackage ../applications/networking/irc/irssi { };
|
||||
|
||||
irssi_fish = callPackage ../applications/networking/irc/irssi/fish { };
|
||||
|
|
Loading…
Reference in a new issue