nixpkgs-suyu/pkgs/servers/ser2net/default.nix

40 lines
786 B
Nix
Raw Normal View History

{ autoreconfHook
, fetchFromGitHub
, gensio
, lib
, libyaml
, nix-update-script
, pkg-config
, stdenv
}:
2020-01-11 09:31:51 +01:00
stdenv.mkDerivation rec {
pname = "ser2net";
2021-10-06 23:36:52 +02:00
version = "4.3.4";
2020-01-11 09:31:51 +01:00
src = fetchFromGitHub {
owner = "cminyard";
repo = pname;
2020-01-11 09:31:51 +01:00
rev = "v${version}";
2021-10-06 23:36:52 +02:00
sha256 = "sha256-J95WDF6x6nHF+r+97E4WdTkXWF98/lx1OSauZTy1/3Q=";
2020-01-11 09:31:51 +01:00
};
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ gensio libyaml ];
2020-01-11 09:31:51 +01: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;
};
}