nixpkgs/pkgs/servers/ser2net/default.nix

24 lines
645 B
Nix
Raw Normal View History

2020-05-21 12:09:07 +02:00
{ stdenv, lib, fetchFromGitHub, gensio, libyaml, autoreconfHook, pkgconfig }:
2020-01-11 09:31:51 +01:00
stdenv.mkDerivation rec {
pname = "ser2net";
2020-08-29 09:15:06 +02:00
version = "4.2.1";
2020-01-11 09:31:51 +01:00
src = fetchFromGitHub {
owner = "cminyard";
repo = "${pname}";
rev = "v${version}";
2020-08-29 09:15:06 +02:00
sha256 = "01w82nrgffsfz2c80p4cyppg3bz56d90jm6i6356j0nva3784haw";
2020-01-11 09:31:51 +01:00
};
2020-05-21 12:09:07 +02:00
buildInputs = [ pkgconfig autoreconfHook 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;
};
}