Merge pull request #181002 from mweinelt/aqbanking

This commit is contained in:
Martin Weinelt 2022-07-14 23:42:51 +02:00 committed by GitHub
commit 63670f7052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 17 deletions

View File

@ -3,14 +3,14 @@
}:
let
inherit ((import ./sources.nix).aqbanking) sha256 releaseId version;
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}/${pname}-${version}.tar.gz";
inherit sha256;
inherit hash;
};
# Set the include dir explicitly, this fixes a build error when building

View File

@ -11,14 +11,14 @@
}:
let
inherit ((import ./sources.nix).gwenhywfar) sha256 releaseId version;
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}/${pname}-${version}.tar.gz";
inherit sha256;
inherit hash;
};
configureFlags = [

View File

@ -1,14 +1,14 @@
{ lib, stdenv, fetchurl, pkg-config, gwenhywfar, pcsclite, zlib }:
let
inherit ((import ./sources.nix).libchipcard) sha256 releaseId version;
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}/${pname}-${version}.tar.gz";
inherit sha256;
inherit hash;
};
nativeBuildInputs = [ pkg-config ];
@ -17,8 +17,6 @@ in stdenv.mkDerivation rec {
makeFlags = [ "crypttokenplugindir=$(out)/lib/gwenhywfar/plugins/ct" ];
configureFlags = [ "--with-gwen-dir=${gwenhywfar}" ];
meta = with lib; {
description = "Library for access to chipcards";
homepage = "https://www.aquamaniac.de/rdm/projects/libchipcard";

View File

@ -1,11 +1,22 @@
{
gwenhywfar.version = "5.6.0";
gwenhywfar.sha256 = "1isbj4a7vdgagp3kkvx2pjcjy8lba6kzjr11fmr06aci1694dbsp";
gwenhywfar.releaseId = "364";
libchipcard.version = "5.0.4";
libchipcard.sha256 = "0fj2h39ll4kiv28ch8qgzdbdbnzs8gl812qnm660bw89rynpjnnj";
libchipcard.releaseId = "158";
aqbanking.version = "6.3.0";
aqbanking.sha256 = "1k2mhdnk0jc0inq1hmp74m3y7azxrjm8r07x5k1pp4ic0yi5vs50";
aqbanking.releaseId = "372";
# https://www.aquamaniac.de/rdm/projects/gwenhywfar/files
gwenhywfar = {
version = "5.9.0";
hash = "sha256-6Ix9M4Ojy75Gyzsimfcd+55vpWX1oWaLQpc5HIdLDhI=";
releaseId = "415";
};
# 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.5.0";
hash = "sha256-TS076ghulq2ntoGSBtTrQWjOt+Mtzppo3Gxuq8yetj4=";
releaseId = "435";
};
}