mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
apostrophe: format with nixfmt-rfc-style
This commit is contained in:
parent
10988d8ade
commit
83ceecf148
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user