nixpkgs/pkgs/applications/networking/instant-messengers/ferdi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, mkFranzDerivation, fetchurl, xorg, xdg-utils, buildEnv, writeShellScriptBin }:
2020-07-03 09:43:18 +00:00
let
mkFranzDerivation' = mkFranzDerivation.override {
xdg-utils = buildEnv {
name = "xdg-utils-for-ferdi";
paths = [
xdg-utils
(lib.hiPrio (writeShellScriptBin "xdg-open" ''
unset GDK_BACKEND
exec ${xdg-utils}/bin/xdg-open "$@"
''))
];
};
};
in
mkFranzDerivation' rec {
2020-07-03 09:43:18 +00:00
pname = "ferdi";
name = "Ferdi";
2022-03-29 14:10:26 +00:00
version = "5.8.1";
2020-07-03 09:43:18 +00:00
src = fetchurl {
2022-04-13 17:12:04 +00:00
url = "https://master.dl.sourceforge.net/project/ferdi.mirror/v${version}/ferdi_${version}_amd64.deb";
2022-03-29 14:10:26 +00:00
sha256 = "sha256-Bl7bM5iDQlfPSZxksqlg7GbuwWlm53QkOf/TQEg3/n0=";
2020-07-03 09:43:18 +00:00
};
extraBuildInputs = [ xorg.libxshmfence ];
meta = with lib; {
description = "Combine your favorite messaging services into one application";
2020-07-03 09:43:18 +00:00
homepage = "https://getferdi.com/";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = licenses.asl20;
maintainers = with maintainers; [ davidtwco ];
2020-07-03 09:43:18 +00:00
platforms = [ "x86_64-linux" ];
hydraPlatforms = [ ];
knownVulnerabilities = [
"CVE-2022-32320"
];
2020-07-03 09:43:18 +00:00
};
}