mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
6c7a6bf895
Co-authored-by: doronbehar <doron.behar@gmail.com>
42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
{ stdenv
|
|
, lib
|
|
, callPackage
|
|
, fetchzip
|
|
, jack
|
|
, udev
|
|
, libsForQt5
|
|
}:
|
|
|
|
rec {
|
|
version = "20211005.2.251ac7d";
|
|
|
|
src = fetchzip {
|
|
url = "https://dl.jami.net/release/tarballs/jami_${version}.tar.gz";
|
|
sha256 = "12ppbwhnk5zajb73szd04sz80bp17q577bkb9j8p45apvq201db3";
|
|
|
|
stripRoot = false;
|
|
extraPostFetch = ''
|
|
cd $out
|
|
mv ring-project/* ./
|
|
rm -r ring-project.rst ring-project client-android client-ios client-macosx client-uwp
|
|
rm daemon/contrib/tarballs/*
|
|
'';
|
|
};
|
|
|
|
jami-meta = with lib; {
|
|
homepage = "https://jami.net/";
|
|
description = " for Jami, the free and universal communication platform that respects the privacy and freedoms of its users";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.linsui ];
|
|
};
|
|
|
|
jami-daemon = callPackage ./daemon.nix { inherit version src udev jack jami-meta; };
|
|
|
|
jami-libclient = libsForQt5.callPackage ./libclient.nix { inherit version src jami-meta; };
|
|
|
|
jami-client-gnome = libsForQt5.callPackage ./client-gnome.nix { inherit version src jami-meta; };
|
|
|
|
jami-client-qt = libsForQt5.callPackage ./client-qt.nix { inherit version src jami-meta; };
|
|
}
|