3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/Sylk/default.nix

33 lines
970 B
Nix
Raw Normal View History

2019-05-16 14:01:32 +01:00
{ appimageTools, fetchurl, lib, gsettings-desktop-schemas, gtk3 }:
let
pname = "Sylk";
2020-01-14 17:25:33 +00:00
version = "2.5.0";
2019-05-16 14:01:32 +01:00
in
appimageTools.wrapType2 rec {
name = "${pname}-${version}";
src = fetchurl {
url = "http://download.ag-projects.com/Sylk/Sylk-${version}-x86_64.AppImage";
2020-01-14 17:25:33 +00:00
sha256 = "1jhs25zzdac3r2wz886vlpb0bz77p52mdlrbsbv28h6is79pbd69";
2019-05-16 14:01:32 +01:00
};
profile = ''
export LC_ALL=C.UTF-8
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
'';
multiPkgs = null; # no 32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = "mv $out/bin/{${name},${pname}}";
meta = with lib; {
description = "Sylk WebRTC client";
homepage = "http://sylkserver.com/";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ zimbatm ];
platforms = [ "i386-linux" "x86_64-linux" ];
};
}