blob: 9e0ac5e8b1d19ea3d9419cbbdb36fc61483898c0 (
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
|
pkgs: attrs: with pkgs; with attrs; rec {
version = "1.1.1t";
versionWithUnderscores = "${lib.replaceStrings ["."] ["_"] version}";
src = fetchFromGitHub {
owner = "openssl";
repo = "openssl";
rev = "OpenSSL_${versionWithUnderscores}";
hash = "sha256-gI2+Vm67j1+xLvzBb+DF0YFTOHW7myotRsXRzluzSLY=";
};
patches = [
./dso-none.patch
];
buildInputs = [ zlib ];
configureFlags = [
# "shared" builds both shared and static libraries
"shared"
"--libdir=lib"
"--openssldir=etc/ssl"
"enable-ec_nistp_64_gcc_128"
"no-dynamic-engine"
"no-tests"
"zlib"
];
}
|