mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
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 {
|
||||
pname = "mysocketw";
|
||||
@ -8,20 +13,26 @@ stdenv.mkDerivation rec {
|
||||
owner = "RigsOfRods";
|
||||
repo = "socketw";
|
||||
rev = version;
|
||||
sha256 = "sha256-mpfhmKE2l59BllkOjmURIfl17lAakXpmGh2x9SFSaAo=";
|
||||
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; [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user