summary refs log tree commit diff
path: root/pkgs/applications/editors/apostrophe
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-03-02 13:03:35 +0100
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-03-02 13:03:35 +0100
commitfb815e88c3358cfe8fd9058ccbd41834b9b2f864 (patch)
treedf4c9062d3f96a8821da1eb50a1236a9ad7a2d74 /pkgs/applications/editors/apostrophe
parentd12574353329291e661805312544b1c68c13911e (diff)
downloadnixpkgs-fb815e88c3358cfe8fd9058ccbd41834b9b2f864.tar
nixpkgs-fb815e88c3358cfe8fd9058ccbd41834b9b2f864.tar.gz
nixpkgs-fb815e88c3358cfe8fd9058ccbd41834b9b2f864.tar.bz2
nixpkgs-fb815e88c3358cfe8fd9058ccbd41834b9b2f864.tar.lz
nixpkgs-fb815e88c3358cfe8fd9058ccbd41834b9b2f864.tar.xz
nixpkgs-fb815e88c3358cfe8fd9058ccbd41834b9b2f864.tar.zst
nixpkgs-fb815e88c3358cfe8fd9058ccbd41834b9b2f864.zip
apostrophe: 2.2.0.3 -> 2.3
Diffstat (limited to 'pkgs/applications/editors/apostrophe')
-rw-r--r--pkgs/applications/editors/apostrophe/default.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/applications/editors/apostrophe/default.nix b/pkgs/applications/editors/apostrophe/default.nix
index 4265e0ef104..a2030dfb9fd 100644
--- a/pkgs/applications/editors/apostrophe/default.nix
+++ b/pkgs/applications/editors/apostrophe/default.nix
@@ -2,23 +2,26 @@
 , wrapGAppsHook, pkg-config, desktop-file-utils
 , appstream-glib, pythonPackages, glib, gobject-introspection
 , gtk3, webkitgtk, glib-networking, gnome3, gspell, texlive
-, shared-mime-info, haskellPackages}:
+, shared-mime-info, haskellPackages, libhandy
+}:
 
 let
-  pythonEnv = pythonPackages.python.withPackages(p: with p;
-    [ regex setuptools python-Levenshtein pyenchant pygobject3 pycairo pypandoc ]);
+  pythonEnv = pythonPackages.python.withPackages(p: with p; [
+    regex setuptools python-Levenshtein pyenchant
+    pygobject3 pycairo pypandoc chardet
+  ]);
   texliveDist = texlive.combined.scheme-medium;
 
 in stdenv.mkDerivation rec {
   pname = "apostrophe";
-  version = "2.2.0.3";
+  version = "2.3";
 
   src = fetchFromGitLab {
     owner  = "somas";
     repo   = pname;
     domain = "gitlab.gnome.org";
     rev    = "v${version}";
-    sha256 = "06bl1hc69ixk2vcb2ig74mwid14sl5zq6rfna7lx9na6j3l04879";
+    sha256 = "1ggrbbnhbnf6p3hs72dww3c9m1rvr4znggmvwcpj6i8v1a3kycnb";
   };
 
   nativeBuildInputs = [ meson ninja cmake pkg-config desktop-file-utils
@@ -26,13 +29,11 @@ in stdenv.mkDerivation rec {
 
   buildInputs = [ glib pythonEnv gobject-introspection gtk3
     gnome3.adwaita-icon-theme webkitgtk gspell texliveDist
-    glib-networking ];
+    glib-networking libhandy ];
 
   postPatch = ''
     patchShebangs --build build-aux/meson_post_install.py
 
-    substituteInPlace ${pname}/config.py --replace "/usr/share/${pname}" "$out/share/${pname}"
-
     # get rid of unused distributed dependencies
     rm -r ${pname}/pylocales
   '';