blob: 8db3b39baaf83ec593d71d24d450cff60db2ceeb (
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 = 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 ];
};
})
|