blob: c8b4b06ed2b97f2e128bca75eab1a6f910f18c29 (
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";
hash = "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 = {
description = "Ancient OpenSSL version that some GOG games require";
homepage = "https://downloads.dotslashplay.it/resources/openssl";
license = lib.licenses.asl20;
platforms = [ "x86_64-linux" ];
sourceProvenance = [ lib.sourceTypes.binaryBytecode ];
maintainers = [ lib.maintainers.azahi ];
};
})
|