aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix44
1 files changed, 44 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index dc5aa9b..e9594cf 100644
--- a/flake.nix
+++ b/flake.nix
@@ -252,6 +252,7 @@
];
}
);
+ # NOTE: should gmp library be also dependent?
nettleBuilder =
{
version ? null,
@@ -675,6 +676,49 @@
};
};
+ lib = {
+ tomcrypt = loadVersionsForShim {
+ libName = "tomcrypt";
+ function = libtomcryptBuilder;
+ };
+ botan = loadVersionsForShim {
+ libName = "botan";
+ function = botan2Builder;
+ };
+ cryptopp = loadVersionsForShim {
+ libName = "cryptopp";
+ function = cryptoppBuilder;
+ };
+ openssl = loadVersionsForShim {
+ libName = "openssl";
+ function = opensslBuilder;
+ };
+ boringssl = loadVersionsForShim {
+ libName = "boringssl";
+ function = boringsslBuilder;
+ };
+ gcrypt = loadVersionsForShim {
+ libName = "gcrypt";
+ function = libgcryptBuilder;
+ };
+ mbedtls = loadVersionsForShim {
+ libName = "mbedtls";
+ function = mbedtlsBuilder;
+ };
+ ippcp = loadVersionsForShim {
+ libName = "ippcp";
+ function = ipp-cryptoBuilder;
+ };
+ nettle = loadVersionsForShim {
+ libName = "nettle";
+ function = nettleBuilder;
+ };
+ libressl = loadVersionsForShim {
+ libName = "libressl";
+ function = libresslBuilder;
+ };
+ };
+
fetchReleases =
with pkgs.python3Packages;
buildPythonApplication {