about summary refs log tree commit diff
path: root/pkgs/by-name/ap
diff options
context:
space:
mode:
authoraleksana <me@aleksana.moe>2024-05-05 22:38:25 +0800
committeraleksana <me@aleksana.moe>2024-05-05 22:38:25 +0800
commit83ceecf14899dabfd2c84ba95cbd25cfe2120c62 (patch)
tree8a75432313fb794189253cfb5d28452fd2840478 /pkgs/by-name/ap
parent10988d8adeea21aaa8485fb5eac83caec6c673cf (diff)
apostrophe: format with nixfmt-rfc-style
Diffstat (limited to 'pkgs/by-name/ap')
-rw-r--r--pkgs/by-name/ap/apostrophe/package.nix80
1 files changed, 61 insertions, 19 deletions
diff --git a/pkgs/by-name/ap/apostrophe/package.nix b/pkgs/by-name/ap/apostrophe/package.nix
index b3915a9651fbe..c335268df8a62 100644
--- a/pkgs/by-name/ap/apostrophe/package.nix
+++ b/pkgs/by-name/ap/apostrophe/package.nix
@@ -1,34 +1,76 @@
-{ lib, stdenv, fetchFromGitLab, meson, ninja
-, wrapGAppsHook3, pkg-config, desktop-file-utils
-, appstream-glib, python3Packages, glib, gobject-introspection
-, gtk3, webkitgtk, glib-networking, gnome, gspell, texliveMedium
-, shared-mime-info, libhandy, fira, sassc
+{
+  lib,
+  stdenv,
+  fetchFromGitLab,
+  meson,
+  ninja,
+  wrapGAppsHook3,
+  pkg-config,
+  desktop-file-utils,
+  appstream-glib,
+  python3Packages,
+  glib,
+  gobject-introspection,
+  gtk3,
+  webkitgtk,
+  glib-networking,
+  gnome,
+  gspell,
+  texliveMedium,
+  shared-mime-info,
+  libhandy,
+  fira,
+  sassc,
 }:
 
 let
-  pythonEnv = python3Packages.python.withPackages(p: with p; [
-    regex setuptools levenshtein pyenchant
-    pygobject3 pycairo pypandoc chardet
-  ]);
-
-in stdenv.mkDerivation rec {
+  pythonEnv = python3Packages.python.withPackages (
+    p: with p; [
+      regex
+      setuptools
+      levenshtein
+      pyenchant
+      pygobject3
+      pycairo
+      pypandoc
+      chardet
+    ]
+  );
+in
+stdenv.mkDerivation rec {
   pname = "apostrophe";
   version = "2.6.3";
 
   src = fetchFromGitLab {
-    owner  = "World";
-    repo   = pname;
+    owner = "World";
+    repo = pname;
     domain = "gitlab.gnome.org";
-    rev    = "v${version}";
+    rev = "v${version}";
     sha256 = "sha256-RBrrG1TO810LidIelYGNaK7PjDq84D0cA8VcMojAW3M=";
   };
 
-  nativeBuildInputs = [ meson ninja pkg-config desktop-file-utils
-    appstream-glib wrapGAppsHook3 sassc gobject-introspection ];
+  nativeBuildInputs = [
+    meson
+    ninja
+    pkg-config
+    desktop-file-utils
+    appstream-glib
+    wrapGAppsHook3
+    sassc
+    gobject-introspection
+  ];
 
-  buildInputs = [ glib pythonEnv gtk3
-    gnome.adwaita-icon-theme webkitgtk gspell texliveMedium
-    glib-networking libhandy ];
+  buildInputs = [
+    glib
+    pythonEnv
+    gtk3
+    gnome.adwaita-icon-theme
+    webkitgtk
+    gspell
+    texliveMedium
+    glib-networking
+    libhandy
+  ];
 
   postPatch = ''
     substituteInPlace data/media/css/web/base.css                                        \