3
0
Fork 0
forked from mirrors/nixpkgs
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.

35 lines
1 KiB
Nix
Raw Normal View History

{ lib, mkFranzDerivation, fetchurl, xorg, xdg-utils, buildEnv, writeShellScriptBin }:
2020-07-03 10:43:18 +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
};
extraBuildInputs = [ xorg.libxshmfence ];
meta = with lib; {
description = "Combine your favorite messaging services into one application";
2020-07-03 10:43:18 +01:00
homepage = "https://getferdi.com/";
license = licenses.asl20;
maintainers = with maintainers; [ davidtwco ma27 ];
2020-07-03 10:43:18 +01:00
platforms = [ "x86_64-linux" ];
hydraPlatforms = [ ];
};
}