Merge pull request #83503 from sternenseemann/apostrophe
uberwriter: renamed to apostrophe
This commit is contained in:
commit
46d919f578
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, meson, ninja, cmake
|
{ stdenv, fetchFromGitLab, meson, ninja, cmake
|
||||||
, wrapGAppsHook, pkgconfig, desktop-file-utils
|
, wrapGAppsHook, pkgconfig, desktop-file-utils
|
||||||
, appstream-glib, pythonPackages, glib, gobject-introspection
|
, appstream-glib, pythonPackages, glib, gobject-introspection
|
||||||
, gtk3, webkitgtk, glib-networking, gnome3, gspell, texlive
|
, gtk3, webkitgtk, glib-networking, gnome3, gspell, texlive
|
||||||
|
@ -10,14 +10,15 @@ let
|
||||||
texliveDist = texlive.combined.scheme-medium;
|
texliveDist = texlive.combined.scheme-medium;
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "uberwriter";
|
pname = "apostrophe";
|
||||||
version = "unstable-2020-01-24";
|
version = "unstable-2020-03-29";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitLab {
|
||||||
owner = pname;
|
owner = "somas";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "0647b413407eb8789a25c353602c4ac979dc342a";
|
domain = "gitlab.gnome.org";
|
||||||
sha256 = "19z52fpbf0p7dzx7q0r5pk3nn0c8z69g1hv6db0cqp61cqv5z95q";
|
rev = "219fa8976e3b8a6f0cea15cfefe4e336423f2bdb";
|
||||||
|
sha256 = "192n5qs3x6rx62mqxd6wajwm453pns8kjyz5v3xc891an6bm1kqx";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja cmake pkgconfig desktop-file-utils
|
nativeBuildInputs = [ meson ninja cmake pkgconfig desktop-file-utils
|
||||||
|
@ -30,10 +31,10 @@ in stdenv.mkDerivation rec {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs --build build-aux/meson_post_install.py
|
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
|
# get rid of unused distributed dependencies
|
||||||
rm -r uberwriter/{pylocales,pressagio}
|
rm -r ${pname}/pylocales
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
|
@ -46,7 +47,7 @@ in stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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";
|
description = "A distraction free Markdown editor for GNU/Linux";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
|
@ -7106,10 +7106,6 @@ in
|
||||||
|
|
||||||
ua = callPackage ../tools/networking/ua { };
|
ua = callPackage ../tools/networking/ua { };
|
||||||
|
|
||||||
uberwriter = callPackage ../applications/editors/uberwriter {
|
|
||||||
pythonPackages = python3Packages;
|
|
||||||
};
|
|
||||||
|
|
||||||
ubridge = callPackage ../tools/networking/ubridge { };
|
ubridge = callPackage ../tools/networking/ubridge { };
|
||||||
|
|
||||||
ucl = callPackage ../development/libraries/ucl { };
|
ucl = callPackage ../development/libraries/ucl { };
|
||||||
|
@ -18450,6 +18446,10 @@ in
|
||||||
|
|
||||||
appeditor = callPackage ../applications/misc/appeditor { };
|
appeditor = callPackage ../applications/misc/appeditor { };
|
||||||
|
|
||||||
|
apostrophe = callPackage ../applications/editors/apostrophe {
|
||||||
|
pythonPackages = python3Packages;
|
||||||
|
};
|
||||||
|
|
||||||
aqemu = libsForQt5.callPackage ../applications/virtualization/aqemu { };
|
aqemu = libsForQt5.callPackage ../applications/virtualization/aqemu { };
|
||||||
|
|
||||||
ardour = callPackage ../applications/audio/ardour {
|
ardour = callPackage ../applications/audio/ardour {
|
||||||
|
|
Loading…
Reference in New Issue