franz: 5.5.0 -> 5.6.1

This commit is contained in:
David Wood 2020-11-17 12:05:15 +00:00
parent b6deb94192
commit d1fb8eaeb1
No known key found for this signature in database
GPG key ID: 2592E76C87381FD9
2 changed files with 5 additions and 4 deletions

View file

@ -3,10 +3,10 @@
mkFranzDerivation rec {
pname = "franz";
name = "Franz";
version = "5.5.0";
version = "5.6.1";
src = fetchurl {
url = "https://github.com/meetfranz/franz/releases/download/v${version}/franz_${version}_amd64.deb";
sha256 = "0kgfjai0pz0gpbxsmn3hbha7zr2kax0s1j3ygcsy4kzghla990wm";
sha256 = "1gn0n1hr6z2gsdnpxysyq6sm8y7cjr9jafhsam8ffw0bq74kph7p";
};
meta = with stdenv.lib; {
description = "A free messaging app that combines chat & messaging services into one application";

View file

@ -28,7 +28,7 @@
# Helper function for building a derivation for Franz and forks.
{ pname, name, version, src, meta }:
stdenv.mkDerivation {
stdenv.mkDerivation rec {
inherit pname version src meta;
# Don't remove runtime deps.
@ -65,7 +65,7 @@ stdenv.mkDerivation {
expat
stdenv.cc.cc
];
runtimeDependencies = [ (lib.getLib udev) libnotify ];
runtimeDependencies = [ stdenv.cc.cc.lib (lib.getLib udev) libnotify ];
unpackPhase = "dpkg-deb -x $src .";
@ -84,6 +84,7 @@ stdenv.mkDerivation {
postFixup = ''
wrapProgram $out/opt/${name}/${pname} \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeDependencies}" \
--prefix PATH : ${xdg_utils}/bin \
"''${gappsWrapperArgs[@]}"
'';