10 stdenv.mkDerivation (finalAttrs: {
11 name = "oqs-provider";
14 src = fetchFromGitHub {
15 owner = "open-quantum-safe";
16 repo = "oqs-provider";
17 rev = finalAttrs.version;
18 hash = "sha256-v7YIE5uzBvQHfi2hqkkRrW0F3K4haZyuoKHxAtRqQDA=";
30 nativeCheckInputs = [ openssl.bin ];
32 configureFlags = [ "--with-modulesdir=$$out/lib/ossl-modules" ];
35 echo ${finalAttrs.version} > VERSION
40 for dir in "$out" "${openssl.out}"; do
41 mkdir -p .install/"$(dirname -- "$dir")"
42 ln -s "$out" ".install/$dir"
44 export DESTDIR="$(realpath .install)"
47 enableParallelInstalling = false;
51 passthru.updateScript = nix-update-script { };
54 homepage = "https://github.com/open-quantum-safe/oqs-provider";
55 description = "Open Quantum Safe provider for OpenSSL (3.x)";
56 license = licenses.mit;
57 maintainers = with maintainers; [ rixxc ];
58 platforms = platforms.all;