blob: 228922a233e7645f65185497fa7bb20fe69d189d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
autoPatchelfHook,
fetchurl,
lib,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "openssl";
version = "1.0.0";
src = fetchurl {
url = "https://downloads.dotslashplay.it/resources/openssl/openssl_${finalAttrs.version}.tar.xz";
sha256 = "sha256-B8/FdkheAwrAtscn6dvUuen1slfRglM/kJb2xGm7uvA=";
};
sourceRoot = "x86_64";
nativeBuildInputs = [autoPatchelfHook];
dontPatch = true;
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
install -Dm555 -t $out/lib libcrypto.so.1.0.0
install -Dm555 -t $out/lib libssl.so.1.0.0
runHook postInstall
'';
meta = with lib; {
description = "Ancient OpenSSL version that some GOG games require";
homepage = "https://downloads.dotslashplay.it/resources/openssl";
license = licenses.asl20;
platforms = ["x86_64-linux"];
sourceProvenance = with lib.sourceTypes; [binaryBytecode];
maintainers = with maintainers; [azahi];
};
})
|