2020-05-21 11:09:07 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, gensio, libyaml, autoreconfHook, pkgconfig }:
|
2020-01-11 08:31:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ser2net";
|
2020-07-15 01:17:46 +01:00
|
|
|
version = "4.2.0";
|
2020-01-11 08:31:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cminyard";
|
|
|
|
repo = "${pname}";
|
|
|
|
rev = "v${version}";
|
2020-07-15 01:17:46 +01:00
|
|
|
sha256 = "154sc7aa74c2vwfwan41qwqxckp36lw9wf3qydamsyvd9ampjf5x";
|
2020-01-11 08:31:51 +00:00
|
|
|
};
|
|
|
|
|
2020-05-21 11:09:07 +01:00
|
|
|
buildInputs = [ pkgconfig autoreconfHook gensio libyaml ];
|
2020-01-11 08:31:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Serial to network connection server";
|
|
|
|
homepage = "https://sourceforge.net/projects/ser2net/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ emantor ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|