push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,79 @@
{
lib,
stdenv,
fetchurl,
meson,
ninja,
pkg-config,
gi-docgen,
glib,
json-glib,
libsoup_3,
libxml2,
gobject-introspection,
gnome,
}:
stdenv.mkDerivation rec {
pname = "librest";
version = "0.10.2";
outputs = [
"out"
"dev"
"devdoc"
];
src = fetchurl {
url = "mirror://gnome/sources/librest/${lib.versions.majorMinor version}/librest-${version}.tar.xz";
sha256 = "e2y5Ers6Is+n3PAFkl3LYogwJNsMCQmUhufWhRGFybg=";
};
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
meson
ninja
pkg-config
gi-docgen
gobject-introspection
];
propagatedBuildInputs = [
glib
json-glib
libsoup_3
libxml2
];
mesonFlags = [
"-Dexamples=false"
# Remove when https://gitlab.gnome.org/GNOME/librest/merge_requests/2 is merged.
"-Dca_certificates=true"
"-Dca_certificates_path=/etc/ssl/certs/ca-certificates.crt"
];
postFixup = ''
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
moveToOutput "share/doc" "$devdoc"
'';
separateDebugInfo = true;
passthru = {
updateScript = gnome.updateScript {
packageName = "librest";
attrPath = "librest_1_0";
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
description = "Helper library for RESTful services";
homepage = "https://gitlab.gnome.org/GNOME/librest";
license = licenses.lgpl21Only;
platforms = platforms.unix;
teams = [ teams.gnome ];
};
}

View File

@@ -0,0 +1,77 @@
{
lib,
stdenv,
fetchurl,
pkg-config,
glib,
libsoup_2_4,
libxml2,
gobject-introspection,
gtk-doc,
docbook-xsl-nons,
docbook_xml_dtd_412,
gnome,
}:
stdenv.mkDerivation rec {
pname = "rest";
version = "0.8.1";
outputs = [
"out"
"dev"
"devdoc"
];
src = fetchurl {
url = "mirror://gnome/sources/rest/${lib.versions.majorMinor version}/rest-${version}.tar.xz";
sha256 = "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9";
};
nativeBuildInputs = [
pkg-config
gobject-introspection
]
++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_412
];
propagatedBuildInputs = [
glib
libsoup_2_4
libxml2
];
strictDeps = true;
configureFlags = [
(lib.enableFeature (stdenv.buildPlatform.canExecute stdenv.hostPlatform) "gtk-doc")
# Remove when https://gitlab.gnome.org/GNOME/librest/merge_requests/2 is merged.
"--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
];
postPatch = ''
# pkg-config doesn't look in $PATH if strictDeps is on
substituteInPlace ./configure \
--replace-fail 'have_gtk_doc=no' "echo gtk-doc is present"
'';
passthru = {
updateScript = gnome.updateScript {
packageName = "rest";
attrPath = "librest";
versionPolicy = "odd-unstable";
freeze = true;
};
};
meta = with lib; {
description = "Helper library for RESTful services";
homepage = "https://gitlab.gnome.org/GNOME/librest";
license = licenses.lgpl21Only;
platforms = platforms.unix;
teams = [ teams.gnome ];
};
}