about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/fractal
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-07-30 14:01:47 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-07-30 14:01:47 -0400
commit37158a3410ecd1cfce12d7b6e165ce7b036614a0 (patch)
tree946c2d514ff50a8c4281037ed7d1ea51f2fc71b0 /pkgs/applications/networking/instant-messengers/fractal
parent8760c695d4e1e98d53cdf410f0f509fa62f4fd41 (diff)
fractal: stylize, add me to maintainers
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/fractal')
-rw-r--r--pkgs/applications/networking/instant-messengers/fractal/default.nix57
1 files changed, 48 insertions, 9 deletions
diff --git a/pkgs/applications/networking/instant-messengers/fractal/default.nix b/pkgs/applications/networking/instant-messengers/fractal/default.nix
index bb8b721a8ac03..218bdd80ff09a 100644
--- a/pkgs/applications/networking/instant-messengers/fractal/default.nix
+++ b/pkgs/applications/networking/instant-messengers/fractal/default.nix
@@ -1,9 +1,30 @@
-{ stdenv, fetchFromGitLab, meson, ninja, gettext, cargo, rustc, python3, rustPlatform, pkgconfig, gtksourceview
-, hicolor-icon-theme, glib, libhandy, gtk3, libsecret, dbus, openssl, sqlite, gst_all_1, wrapGAppsHook, fetchpatch }:
+{ stdenv
+, fetchFromGitLab
+, meson
+, ninja
+, gettext
+, cargo
+, rustc
+, python3
+, rustPlatform
+, pkgconfig
+, gtksourceview
+, hicolor-icon-theme
+, glib
+, libhandy
+, gtk3
+, libsecret
+, dbus
+, openssl
+, sqlite
+, gst_all_1
+, wrapGAppsHook
+, fetchpatch
+}:
 
 rustPlatform.buildRustPackage rec {
+  pname = "fractal";
   version = "4.0.0";
-  name = "fractal-${version}";
 
   src = fetchFromGitLab {
     domain = "gitlab.gnome.org";
@@ -13,12 +34,32 @@ rustPlatform.buildRustPackage rec {
     sha256 = "05q47jdgbi5jz01280msb8gxnbsrgf2jvglfm6k40f1xw4wxkrzy";
   };
 
+  cargoSha256 = "1ax5dv200v8mfx0418bx8sbwpbp6zj469xg75hp78kqfiv83pn1g";
+
   nativeBuildInputs = [
-    meson ninja pkgconfig gettext cargo rustc python3 wrapGAppsHook
+    cargo
+    gettext
+    meson
+    ninja
+    pkgconfig
+    python3
+    rustc
+    wrapGAppsHook
   ];
+
   buildInputs = [
-    glib gtk3 libhandy dbus openssl sqlite gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-bad
-    gtksourceview hicolor-icon-theme libsecret
+    dbus
+    glib
+    gst_all_1.gst-plugins-bad
+    gst_all_1.gst-plugins-base
+    gst_all_1.gstreamer
+    gtk3
+    gtksourceview
+    hicolor-icon-theme
+    libhandy
+    libsecret
+    openssl
+    sqlite
   ];
 
   patches = [
@@ -39,13 +80,11 @@ rustPlatform.buildRustPackage rec {
   checkPhase = null;
   installPhase = null;
 
-  cargoSha256 = "1ax5dv200v8mfx0418bx8sbwpbp6zj469xg75hp78kqfiv83pn1g";
-
   meta = with stdenv.lib; {
     description = "Matrix group messaging app";
     homepage = https://gitlab.gnome.org/GNOME/fractal;
     license = licenses.gpl3;
-    maintainers = with maintainers; [ dtzWill ];
+    maintainers = with maintainers; [ dtzWill worldofpeace ];
   };
 }