2021-06-04 20:37:35 +01:00
|
|
|
{ lib, mkFranzDerivation, fetchurl, xorg, xdg-utils, buildEnv, writeShellScriptBin }:
|
2020-07-03 10:43:18 +01:00
|
|
|
|
2021-06-04 20:37:35 +01: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 10:43:18 +01:00
|
|
|
pname = "ferdi";
|
|
|
|
name = "Ferdi";
|
2022-01-13 07:02:32 +00:00
|
|
|
version = "5.7.0";
|
2020-07-03 10:43:18 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/getferdi/ferdi/releases/download/v${version}/ferdi_${version}_amd64.deb";
|
2022-01-13 07:02:32 +00:00
|
|
|
sha256 = "sha256-WwtnYNjXHk80o1wMsEBoaT9j0+4TWTfWhuVpGHaZB7c=";
|
2020-07-03 10:43:18 +01:00
|
|
|
};
|
2021-06-04 20:37:35 +01:00
|
|
|
extraBuildInputs = [ xorg.libxshmfence ];
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "Combine your favorite messaging services into one application";
|
2020-07-03 10:43:18 +01:00
|
|
|
homepage = "https://getferdi.com/";
|
2021-05-17 01:03:39 +01:00
|
|
|
license = licenses.asl20;
|
2021-06-04 20:37:35 +01:00
|
|
|
maintainers = with maintainers; [ davidtwco ma27 ];
|
2020-07-03 10:43:18 +01:00
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
hydraPlatforms = [ ];
|
|
|
|
};
|
|
|
|
}
|