nixpkgs/pkgs/servers/ser2net/default.nix

24 lines
640 B
Nix
Raw Normal View History

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-08-29 08:15:06 +01:00
version = "4.2.1";
2020-01-11 08:31:51 +00:00
src = fetchFromGitHub {
owner = "cminyard";
repo = pname;
2020-01-11 08:31:51 +00:00
rev = "v${version}";
2020-08-29 08:15:06 +01:00
sha256 = "01w82nrgffsfz2c80p4cyppg3bz56d90jm6i6356j0nva3784haw";
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;
};
}