Merge pull request #164799 from r-ryantm/auto-update/mysocketw

mysocketw: 3.10.27 -> 3.11.0
This commit is contained in:
Fabian Affolter
2022-03-20 10:23:24 +01:00
committed by GitHub
@@ -1,27 +1,38 @@
{ lib, stdenv, fetchFromGitHub, openssl, cmake }:
{ lib
, stdenv
, fetchFromGitHub
, openssl
, cmake
}:
stdenv.mkDerivation rec {
pname = "mysocketw";
version = "3.10.27";
version = "3.11.0";
src = fetchFromGitHub {
owner = "RigsOfRods";
repo = "socketw";
rev = version;
sha256 = "0xqcgwb1lyc2d8834sq5adbmggyn6vvb26jw20862sxa15j0qfd4";
hash = "sha256-mpfhmKE2l59BllkOjmURIfl17lAakXpmGh2x9SFSaAo=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl ];
nativeBuildInputs = [
cmake
];
buildInputs = [
openssl
];
postPatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace src/Makefile \
--replace -Wl,-soname, -Wl,-install_name,$out/lib/
'';
meta = {
meta = with lib; {
description = "Cross platform (Linux/FreeBSD/Unix/Win32) streaming socket C++";
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.all;
homepage = "https://github.com/RigsOfRods/socketw";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ ];
};
}