lol

librest_1_0: 0.9.1 → 0.10.2

https://gitlab.gnome.org/GNOME/librest/-/compare/0.9.1...0.10.2

+5 -30
+5 -30
pkgs/development/libraries/librest/1.0.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchpatch, 5 4 fetchurl, 6 5 meson, 7 6 ninja, ··· 16 15 }: 17 16 18 17 stdenv.mkDerivation rec { 19 - pname = "rest"; 20 - version = "0.9.1"; 18 + pname = "librest"; 19 + version = "0.10.2"; 21 20 22 21 outputs = [ 23 22 "out" ··· 26 25 ]; 27 26 28 27 src = fetchurl { 29 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 - sha256 = "kmalwQ7OOD4ZPft/+we1CcwfUVIauNrXavlu0UISwuM="; 28 + url = "mirror://gnome/sources/librest/${lib.versions.majorMinor version}/librest-${version}.tar.xz"; 29 + sha256 = "e2y5Ers6Is+n3PAFkl3LYogwJNsMCQmUhufWhRGFybg="; 31 30 }; 32 31 33 - patches = [ 34 - # Pick up MR 30 (https://gitlab.gnome.org/GNOME/librest/-/merge_requests/30) to fix GOA crashes with libsoup 3 35 - (fetchpatch { 36 - url = "https://gitlab.gnome.org/GNOME/librest/-/commit/fbad64abe28a96f591a30e3a5d3189c10172a414.patch"; 37 - hash = "sha256-r8+h84Y/AdM1IOMRcBVwDvfqapqOY8ZtRXdOIQvFR9w="; 38 - }) 39 - (fetchpatch { 40 - url = "https://gitlab.gnome.org/GNOME/librest/-/commit/8049048a0f7d52b3f4101c7123797fed099d4cc8.patch"; 41 - hash = "sha256-AMhHKzzOoTIlkRwN4KfUwdhxlqvtRgiVjKRfnG7KZwc="; 42 - }) 43 - ]; 44 - 45 32 strictDeps = true; 46 33 depsBuildBuild = [ pkg-config ]; 47 34 nativeBuildInputs = [ ··· 67 54 "-Dca_certificates_path=/etc/ssl/certs/ca-certificates.crt" 68 55 ]; 69 56 70 - postPatch = '' 71 - # https://gitlab.gnome.org/GNOME/librest/-/merge_requests/19 72 - substituteInPlace meson.build \ 73 - --replace "con." "conf." 74 - 75 - # Run-time dependency gi-docgen found: NO (tried pkgconfig and cmake) 76 - # it should be a build-time dep for build 77 - # TODO: send upstream 78 - substituteInPlace docs/meson.build \ 79 - --replace "'gi-docgen', ver" "'gi-docgen', native:true, ver" 80 - ''; 81 - 82 57 postFixup = '' 83 58 # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 84 59 moveToOutput "share/doc" "$devdoc" ··· 88 63 89 64 passthru = { 90 65 updateScript = gnome.updateScript { 91 - packageName = pname; 66 + packageName = "librest"; 92 67 attrPath = "librest_1_0"; 93 68 versionPolicy = "odd-unstable"; 94 69 };