libgweather: clean up
This commit is contained in:
parent
521efa2798
commit
312598aaf7
1 changed files with 45 additions and 8 deletions
|
@ -1,5 +1,24 @@
|
||||||
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, libxml2, glib, gtk3, gettext, libsoup
|
{ lib
|
||||||
, gtk-doc, docbook_xsl, docbook_xml_dtd_43, gobject-introspection, python3, tzdata, geocode-glib, vala, gnome3 }:
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, libxml2
|
||||||
|
, glib
|
||||||
|
, gtk3
|
||||||
|
, gettext
|
||||||
|
, libsoup
|
||||||
|
, gtk-doc
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, docbook_xml_dtd_43
|
||||||
|
, gobject-introspection
|
||||||
|
, python3
|
||||||
|
, tzdata
|
||||||
|
, geocode-glib
|
||||||
|
, vala
|
||||||
|
, gnome3
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libgweather";
|
pname = "libgweather";
|
||||||
|
@ -12,13 +31,26 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0l74hc02rvzm4p530y539a67jwb080fqdaazdl8j0fr3xvq0j9yy";
|
sha256 = "0l74hc02rvzm4p530y539a67jwb080fqdaazdl8j0fr3xvq0j9yy";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config gettext vala gtk-doc docbook_xsl docbook_xml_dtd_43 gobject-introspection python3 ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ glib gtk3 libsoup libxml2 geocode-glib ];
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
gettext
|
||||||
|
vala
|
||||||
|
gtk-doc
|
||||||
|
docbook-xsl-nons
|
||||||
|
docbook_xml_dtd_43
|
||||||
|
gobject-introspection
|
||||||
|
python3
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
buildInputs = [
|
||||||
chmod +x meson/meson_post_install.py
|
glib
|
||||||
patchShebangs meson/meson_post_install.py
|
gtk3
|
||||||
'';
|
libsoup
|
||||||
|
libxml2
|
||||||
|
geocode-glib
|
||||||
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dzoneinfo_dir=${tzdata}/share/zoneinfo"
|
"-Dzoneinfo_dir=${tzdata}/share/zoneinfo"
|
||||||
|
@ -26,6 +58,11 @@ stdenv.mkDerivation rec {
|
||||||
"-Dgtk_doc=true"
|
"-Dgtk_doc=true"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
chmod +x meson/meson_post_install.py
|
||||||
|
patchShebangs meson/meson_post_install.py
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
|
Loading…
Reference in a new issue