mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
libgweather: 4.4.4 → 4.6.0
https://gitlab.gnome.org/GNOME/libgweather/-/compare/4.4.4...4.6.0
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
stdenv,
|
||||
buildPackages,
|
||||
fetchurl,
|
||||
makeWrapper,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
@@ -11,10 +10,10 @@
|
||||
json-glib,
|
||||
glib,
|
||||
gettext,
|
||||
gweather-locations,
|
||||
libsoup_3,
|
||||
gi-docgen,
|
||||
gobject-introspection,
|
||||
python3,
|
||||
tzdata,
|
||||
geocode-glib_2,
|
||||
vala,
|
||||
@@ -26,7 +25,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libgweather";
|
||||
version = "4.4.4";
|
||||
version = "4.6.0";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -36,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libgweather/${lib.versions.majorMinor version}/libgweather-${version}.tar.xz";
|
||||
hash = "sha256-cBdnd1PN99H9w1Xkv82x66g2l5Oo3yTSQUJ6k5y/QoM=";
|
||||
hash = "sha256-f10OjJaF7y/0bC86V8rkjXvzVAstg5IfiJ7yjmqHZ4g=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -47,7 +46,6 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
depsBuildBuild = [
|
||||
makeWrapper
|
||||
pkg-config
|
||||
];
|
||||
|
||||
@@ -57,7 +55,6 @@ stdenv.mkDerivation rec {
|
||||
pkg-config
|
||||
gettext
|
||||
glib
|
||||
(python3.pythonOnBuildForHost.withPackages (ps: [ ps.pygobject3 ]))
|
||||
]
|
||||
++ lib.optionals withIntrospection [
|
||||
gi-docgen
|
||||
@@ -67,6 +64,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gweather-locations
|
||||
libsoup_3
|
||||
libxml2
|
||||
json-glib
|
||||
@@ -82,10 +80,6 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs --build build-aux/meson/gen_locations_variant.py
|
||||
wrapProgram $PWD/build-aux/meson/gen_locations_variant.py \
|
||||
--prefix GI_TYPELIB_PATH : ${lib.getLib buildPackages.glib}/lib/girepository-1.0 \
|
||||
|
||||
# Run-time dependency gi-docgen found: NO (tried pkgconfig and cmake)
|
||||
# it should be a build-time dep for build
|
||||
# TODO: send upstream
|
||||
|
||||
Reference in New Issue
Block a user