1
0
Fork 0
forked from fabian/nix

trivionomicon: athena-bccr: add support for non-Athena driver vendors

This commit is contained in:
Alejandro Soto 2026-03-02 19:48:42 -06:00
parent 62eee95d99
commit 57f673b495
6 changed files with 152 additions and 144 deletions

View file

@ -16,15 +16,15 @@
};
pkgsForRelease = release: let
ase-pkcs11 = unwrapped.ase-idprotect.lib;
libasep11 = "${ase-pkcs11}/lib/x64-athena/libASEP11.so";
inherit (unwrapped) card-driver bccr-cacerts;
unwrapped = overrideUnwrapped {inherit release;} {};
pkcs11-module = "${card-driver.lib}/${card-driver.pkcs11-path}";
in {
inherit ase-pkcs11 libasep11;
inherit (unwrapped) ase-idprotect bccr-cacerts;
inherit card-driver bccr-cacerts pkcs11-module;
gaudi = callPackage ./gaudi-env.nix {inherit unwrapped;};
firmador = callPackage ./firmador.nix {inherit libasep11;};
firmador = callPackage ./firmador.nix {inherit pkcs11-module;};
};
in
lib.mapAttrs (_: pkgsForRelease) (releases // {latest = releases.${latest};})