mysocketw: update meta
This commit is contained in:
parent
c0db1312bc
commit
13f95830f4
|
@ -1,4 +1,9 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, openssl, cmake }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, openssl
|
||||||
|
, cmake
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mysocketw";
|
pname = "mysocketw";
|
||||||
|
@ -8,20 +13,26 @@ stdenv.mkDerivation rec {
|
||||||
owner = "RigsOfRods";
|
owner = "RigsOfRods";
|
||||||
repo = "socketw";
|
repo = "socketw";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-mpfhmKE2l59BllkOjmURIfl17lAakXpmGh2x9SFSaAo=";
|
hash = "sha256-mpfhmKE2l59BllkOjmURIfl17lAakXpmGh2x9SFSaAo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ openssl ];
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace src/Makefile \
|
substituteInPlace src/Makefile \
|
||||||
--replace -Wl,-soname, -Wl,-install_name,$out/lib/
|
--replace -Wl,-soname, -Wl,-install_name,$out/lib/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Cross platform (Linux/FreeBSD/Unix/Win32) streaming socket C++";
|
description = "Cross platform (Linux/FreeBSD/Unix/Win32) streaming socket C++";
|
||||||
license = lib.licenses.lgpl21Plus;
|
homepage = "https://github.com/RigsOfRods/socketw";
|
||||||
platforms = lib.platforms.all;
|
license = licenses.lgpl21Plus;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue