Merge pull request #122373 from dotlambda/chatty-init

chatty: init at 0.3.2

authored by

Robert Schütz and committed by
GitHub
eb21f8d4 fdbade40

+85
+79
pkgs/applications/networking/instant-messengers/chatty/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , appstream-glib 5 + , desktop-file-utils 6 + , meson 7 + , ninja 8 + , pkg-config 9 + , python3 10 + , wrapGAppsHook 11 + , evolution-data-server 12 + , feedbackd 13 + , gtk3 14 + , json-glib 15 + , libgcrypt 16 + , libhandy 17 + , libphonenumber 18 + , olm 19 + , pidgin 20 + , protobuf 21 + , sqlite 22 + , plugins ? [ ] 23 + }: 24 + 25 + stdenv.mkDerivation rec { 26 + pname = "chatty"; 27 + version = "0.3.2"; 28 + 29 + src = fetchFromGitLab { 30 + domain = "source.puri.sm"; 31 + owner = "Librem5"; 32 + repo = "chatty"; 33 + rev = "v${version}"; 34 + sha256 = "sha256-/l8hysfBmXLbs2COIVjdr2JC1qX/c66DqOm2Gyqb9s8="; 35 + }; 36 + 37 + postPatch = '' 38 + patchShebangs build-aux/meson 39 + ''; 40 + 41 + nativeBuildInputs = [ 42 + appstream-glib 43 + desktop-file-utils 44 + meson 45 + ninja 46 + pkg-config 47 + python3 48 + wrapGAppsHook 49 + ]; 50 + 51 + buildInputs = [ 52 + evolution-data-server 53 + feedbackd 54 + gtk3 55 + json-glib 56 + libgcrypt 57 + libhandy 58 + libphonenumber 59 + olm 60 + pidgin 61 + protobuf 62 + sqlite 63 + ]; 64 + 65 + preFixup = '' 66 + gappsWrapperArgs+=( 67 + --prefix PURPLE_PLUGIN_PATH : ${pidgin.makePluginPath plugins} 68 + ${lib.concatMapStringsSep " " (p: p.wrapArgs or "") plugins} 69 + ) 70 + ''; 71 + 72 + meta = with lib; { 73 + description = "XMPP and SMS messaging via libpurple and ModemManager"; 74 + homepage = "https://source.puri.sm/Librem5/chatty"; 75 + license = licenses.gpl3Plus; 76 + maintainers = with maintainers; [ dotlambda tomfitzhenry ]; 77 + platforms = platforms.linux; 78 + }; 79 + }
+4
pkgs/applications/networking/instant-messengers/pidgin/default.nix
··· 87 87 done 88 88 ''; 89 89 90 + passthru = { 91 + makePluginPath = lib.makeSearchPathOutput "lib" "lib/purple-${majorVersion}"; 92 + }; 93 + 90 94 meta = with lib; { 91 95 description = "Multi-protocol instant messaging client"; 92 96 homepage = "http://pidgin.im";
+2
pkgs/top-level/all-packages.nix
··· 23730 23730 inherit (python3Packages) python wrapPython pygments markdown; 23731 23731 }; 23732 23732 23733 + chatty = callPackage ../applications/networking/instant-messengers/chatty { }; 23734 + 23733 23735 chirp = callPackage ../applications/radio/chirp { }; 23734 23736 23735 23737 browsh = callPackage ../applications/networking/browsers/browsh { };