mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
31 lines
602 B
Nix
31 lines
602 B
Nix
|
{ pkgs ? import <nixpkgs> { system = builtins.currentSystem; }
|
||
|
, stdenv ? pkgs.stdenv
|
||
|
, fetchFromGitHub ? pkgs.fetchFromGitHub
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "opensslmy";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "openssl";
|
||
|
repo = "openssl";
|
||
|
rev = "refs/tags/openssl-3.1.4";
|
||
|
sha256 = "sha256-Vvf1wiNb4ikg1lIS9U137aodZ2JzM711tSWMJFYWtWI=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = with pkgs; [ perl ];
|
||
|
|
||
|
buildInputs = with pkgs; [ ];
|
||
|
|
||
|
postPatch = ''
|
||
|
patchShebangs Configure
|
||
|
'';
|
||
|
|
||
|
configurePhase = ''
|
||
|
./Configure no-shared
|
||
|
'';
|
||
|
installPhase = ''
|
||
|
make install DESTDIR=$out
|
||
|
'';
|
||
|
}
|