diff options
| author | quapka | 2024-07-22 13:37:32 +0200 |
|---|---|---|
| committer | quapka | 2024-07-22 13:37:32 +0200 |
| commit | a6f468f0d33a324cce5daf6d48e7bcf6b80a4c4b (patch) | |
| tree | db3b72f22253ace455d5ad7fb0b02c2ccb068c4a /nix/libresslshim.nix | |
| parent | 8f8d79757184c5cd6b79e3e174d480219c1e1240 (diff) | |
| download | ECTester-a6f468f0d33a324cce5daf6d48e7bcf6b80a4c4b.tar.gz ECTester-a6f468f0d33a324cce5daf6d48e7bcf6b80a4c4b.tar.zst ECTester-a6f468f0d33a324cce5daf6d48e7bcf6b80a4c4b.zip | |
Diffstat (limited to 'nix/libresslshim.nix')
| -rw-r--r-- | nix/libresslshim.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nix/libresslshim.nix b/nix/libresslshim.nix new file mode 100644 index 0000000..97bc3d9 --- /dev/null +++ b/nix/libresslshim.nix @@ -0,0 +1,23 @@ +{ + pkgs + , libressl +}: +with pkgs; stdenv.mkDerivation rec { + name = "LibreSSLShim"; + src = ../standalone/src/main/resources/cz/crcs/ectester/standalone/libs/jni; + + buildInputs = [ + libressl + pkg-config + jdk11_headless + ]; + + buildPhase = '' + make libressl + ''; + + installPhase = '' + mkdir --parents $out/lib + cp libressl_provider.so $out/lib + ''; +} |
