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,61 @@
{
lib,
stdenv,
fetchurl,
gmp,
gwenhywfar,
libtool,
libxml2,
libxslt,
pkg-config,
gettext,
xmlsec,
zlib,
}:
let
inherit ((import ./sources.nix).aqbanking) hash releaseId version;
in
stdenv.mkDerivation rec {
pname = "aqbanking";
inherit version;
src = fetchurl {
url = "https://www.aquamaniac.de/rdm/attachments/download/${releaseId}/aqbanking-${version}.tar.gz";
inherit hash;
};
# Set the include dir explicitly, this fixes a build error when building
# kmymoney because otherwise the includedir is overwritten by gwenhywfar's
# cmake file
postPatch = ''
sed -i '/^set_and_check(AQBANKING_INCLUDE_DIRS "@aqbanking_headerdir@")/i set_and_check(includedir "@includedir@")' aqbanking-config.cmake.in
sed -i -e '/^aqbanking_plugindir=/ {
c aqbanking_plugindir="\''${libdir}/gwenhywfar/plugins"
}' configure
'';
buildInputs = [
gmp
gwenhywfar
libtool
libxml2
libxslt
xmlsec
zlib
];
nativeBuildInputs = [
pkg-config
gettext
];
meta = with lib; {
description = "Interface to banking tasks, file formats and country information";
homepage = "https://www.aquamaniac.de/rdm/";
hydraPlatforms = [ ];
license = licenses.gpl2Plus;
maintainers = [ ];
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,96 @@
{
lib,
stdenv,
fetchurl,
gnutls,
openssl,
libgcrypt,
libgpg-error,
pkg-config,
gettext,
which,
# GUI support
gtk3,
qt5,
pluginSearchPaths ? [
"/run/current-system/sw/lib/gwenhywfar/plugins"
".nix-profile/lib/gwenhywfar/plugins"
],
}:
let
inherit ((import ./sources.nix).gwenhywfar) hash releaseId version;
in
stdenv.mkDerivation rec {
pname = "gwenhywfar";
inherit version;
src = fetchurl {
url = "https://www.aquamaniac.de/rdm/attachments/download/${releaseId}/gwenhywfar-${version}.tar.gz";
inherit hash;
};
configureFlags = [
"--with-openssl-includes=${openssl.dev}/include"
"--with-openssl-libs=${lib.getLib openssl}/lib"
];
preConfigure = ''
configureFlagsArray+=("--with-guis=gtk3 qt5")
'';
postPatch =
let
isRelative = path: builtins.substring 0 1 path != "/";
mkSearchPath =
path:
''
p; g; s,\<PLUGINDIR\>,"${path}",g;
''
+ lib.optionalString (isRelative path) ''
s/AddPath(\(.*\));/AddRelPath(\1, GWEN_PathManager_RelModeHome);/g
'';
in
''
sed -i -e '/GWEN_PathManager_DefinePath.*GWEN_PM_PLUGINDIR/,/^#endif/ {
/^#if/,/^#endif/ {
H; /^#endif/ {
${lib.concatMapStrings mkSearchPath pluginSearchPaths}
}
}
}' src/gwenhywfar.c
# Strip off the effective SO version from the path so that for example
# "lib/gwenhywfar/plugins/60" becomes just "lib/gwenhywfar/plugins".
sed -i -e '/^gwenhywfar_plugindir=/s,/\''${GWENHYWFAR_SO_EFFECTIVE},,' \
configure
'';
nativeBuildInputs = [
pkg-config
gettext
which
];
buildInputs = [
gtk3
qt5.qtbase
gnutls
openssl
libgcrypt
libgpg-error
];
dontWrapQtApps = true;
meta = with lib; {
description = "OS abstraction functions used by aqbanking and related tools";
homepage = "https://www.aquamaniac.de/rdm/projects/gwenhywfar";
license = licenses.lgpl21Plus;
maintainers = [ ];
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,40 @@
{
lib,
stdenv,
fetchurl,
pkg-config,
gwenhywfar,
pcsclite,
zlib,
}:
let
inherit ((import ./sources.nix).libchipcard) hash releaseId version;
in
stdenv.mkDerivation rec {
pname = "libchipcard";
inherit version;
src = fetchurl {
url = "https://www.aquamaniac.de/rdm/attachments/download/${releaseId}/libchipcard-${version}.tar.gz";
inherit hash;
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
gwenhywfar
pcsclite
zlib
];
makeFlags = [ "crypttokenplugindir=$(out)/lib/gwenhywfar/plugins/ct" ];
meta = with lib; {
description = "Library for access to chipcards";
homepage = "https://www.aquamaniac.de/rdm/projects/libchipcard";
license = licenses.lgpl21;
maintainers = with maintainers; [ aszlig ];
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,22 @@
{
# https://www.aquamaniac.de/rdm/projects/gwenhywfar/files
gwenhywfar = {
version = "5.12.1";
hash = "sha256-0YhEi5w6lwlyFCLuATS50Ld5CrdRQFjZngQ5njlGXdo=";
releaseId = "533";
};
# https://www.aquamaniac.de/rdm/projects/libchipcard/files
libchipcard = {
version = "5.1.6";
hash = "sha256-bAf1J0F/dWIHT5kBLaTRHrTbr9M/SeZrRCzNbjuM/SA=";
releaseId = "382";
};
# https://www.aquamaniac.de/rdm/projects/aqbanking/files
aqbanking = {
version = "6.6.1";
hash = "sha256-MlD6bYk/gW0pwZrzX+X8y3TAgOIXU/2eUleaeS3UhWc=";
releaseId = "535";
};
}