about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorsternenseemann <git@lukasepple.de>2020-03-27 16:12:17 +0100
committersternenseemann <git@lukasepple.de>2020-03-31 15:08:25 +0200
commitdb9a868fe6bd0c8e026276bf3f373da20538796a (patch)
treeb5c407f731b1dd5dd217681699493f689b8c360e /pkgs/applications/editors
parentc669d2991b9b6242c3a333c19ee5b6f9119f0b85 (diff)
downloadnixlib-db9a868fe6bd0c8e026276bf3f373da20538796a.tar
nixlib-db9a868fe6bd0c8e026276bf3f373da20538796a.tar.gz
nixlib-db9a868fe6bd0c8e026276bf3f373da20538796a.tar.bz2
nixlib-db9a868fe6bd0c8e026276bf3f373da20538796a.tar.lz
nixlib-db9a868fe6bd0c8e026276bf3f373da20538796a.tar.xz
nixlib-db9a868fe6bd0c8e026276bf3f373da20538796a.tar.zst
nixlib-db9a868fe6bd0c8e026276bf3f373da20538796a.zip
uberwriter: renamed to apostrophe
* update 2020-01-24 -> 2020-03-29
* reflect change of name and main repository
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/apostrophe/default.nix (renamed from pkgs/applications/editors/uberwriter/default.nix)21
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/applications/editors/uberwriter/default.nix b/pkgs/applications/editors/apostrophe/default.nix
index 48ebc79e7050..623f86a61c2c 100644
--- a/pkgs/applications/editors/uberwriter/default.nix
+++ b/pkgs/applications/editors/apostrophe/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, meson, ninja, cmake
+{ stdenv, fetchFromGitLab, meson, ninja, cmake
 , wrapGAppsHook, pkgconfig, desktop-file-utils
 , appstream-glib, pythonPackages, glib, gobject-introspection
 , gtk3, webkitgtk, glib-networking, gnome3, gspell, texlive
@@ -10,14 +10,15 @@ let
   texliveDist = texlive.combined.scheme-medium;
 
 in stdenv.mkDerivation rec {
-  pname = "uberwriter";
-  version = "unstable-2020-01-24";
+  pname = "apostrophe";
+  version = "unstable-2020-03-29";
 
-  src = fetchFromGitHub {
-    owner  = pname;
+  src = fetchFromGitLab {
+    owner  = "somas";
     repo   = pname;
-    rev    = "0647b413407eb8789a25c353602c4ac979dc342a";
-    sha256 = "19z52fpbf0p7dzx7q0r5pk3nn0c8z69g1hv6db0cqp61cqv5z95q";
+    domain = "gitlab.gnome.org";
+    rev    = "219fa8976e3b8a6f0cea15cfefe4e336423f2bdb";
+    sha256 = "192n5qs3x6rx62mqxd6wajwm453pns8kjyz5v3xc891an6bm1kqx";
   };
 
   nativeBuildInputs = [ meson ninja cmake pkgconfig desktop-file-utils
@@ -30,10 +31,10 @@ in stdenv.mkDerivation rec {
   postPatch = ''
     patchShebangs --build build-aux/meson_post_install.py
 
-    substituteInPlace uberwriter/config.py --replace "/usr/share/uberwriter" "$out/share/uberwriter"
+    substituteInPlace ${pname}/config.py --replace "/usr/share/${pname}" "$out/share/${pname}"
 
     # get rid of unused distributed dependencies
-    rm -r uberwriter/{pylocales,pressagio}
+    rm -r ${pname}/pylocales
   '';
 
   preFixup = ''
@@ -46,7 +47,7 @@ in stdenv.mkDerivation rec {
   '';
 
   meta = with stdenv.lib; {
-    homepage = http://uberwriter.github.io/uberwriter/;
+    homepage = "https://gitlab.gnome.org/somas/apostrophe";
     description = "A distraction free Markdown editor for GNU/Linux";
     license = licenses.gpl3;
     platforms = platforms.linux;