apostrophe: 2.2.0.3 -> 2.3
This commit is contained in:
parent
d125743533
commit
fb815e88c3
@ -2,23 +2,26 @@
|
|||||||
, wrapGAppsHook, pkg-config, desktop-file-utils
|
, wrapGAppsHook, pkg-config, 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
|
||||||
, shared-mime-info, haskellPackages}:
|
, shared-mime-info, haskellPackages, libhandy
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
pythonEnv = pythonPackages.python.withPackages(p: with p;
|
pythonEnv = pythonPackages.python.withPackages(p: with p; [
|
||||||
[ regex setuptools python-Levenshtein pyenchant pygobject3 pycairo pypandoc ]);
|
regex setuptools python-Levenshtein pyenchant
|
||||||
|
pygobject3 pycairo pypandoc chardet
|
||||||
|
]);
|
||||||
texliveDist = texlive.combined.scheme-medium;
|
texliveDist = texlive.combined.scheme-medium;
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "apostrophe";
|
pname = "apostrophe";
|
||||||
version = "2.2.0.3";
|
version = "2.3";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "somas";
|
owner = "somas";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "06bl1hc69ixk2vcb2ig74mwid14sl5zq6rfna7lx9na6j3l04879";
|
sha256 = "1ggrbbnhbnf6p3hs72dww3c9m1rvr4znggmvwcpj6i8v1a3kycnb";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja cmake pkg-config desktop-file-utils
|
nativeBuildInputs = [ meson ninja cmake pkg-config desktop-file-utils
|
||||||
@ -26,13 +29,11 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ glib pythonEnv gobject-introspection gtk3
|
buildInputs = [ glib pythonEnv gobject-introspection gtk3
|
||||||
gnome3.adwaita-icon-theme webkitgtk gspell texliveDist
|
gnome3.adwaita-icon-theme webkitgtk gspell texliveDist
|
||||||
glib-networking ];
|
glib-networking libhandy ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs --build build-aux/meson_post_install.py
|
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
|
# get rid of unused distributed dependencies
|
||||||
rm -r ${pname}/pylocales
|
rm -r ${pname}/pylocales
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user