nixpkgs/pkgs/servers/ser2net/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
783 B
Nix
Raw Normal View History

{ autoreconfHook
, fetchFromGitHub
, gensio
, lib
, libyaml
, nix-update-script
, pkg-config
, stdenv
}:
2020-01-11 08:31:51 +00:00
stdenv.mkDerivation rec {
pname = "ser2net";
2024-04-27 21:39:57 +00:00
version = "4.6.2";
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}";
2024-04-27 21:39:57 +00:00
hash = "sha256-cREtVvUZggVZpd3HFqrfikCInIyrRXSk4HKYhEWkXXc=";
2020-01-11 08:31:51 +00:00
};
passthru = {
updateScript = nix-update-script { };
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ gensio libyaml ];
2020-01-11 08:31:51 +00:00
meta = with lib; {
description = "Serial to network connection server";
homepage = "https://github.com/cminyard/ser2net";
license = licenses.gpl2Only;
2020-01-11 08:31:51 +00:00
maintainers = with maintainers; [ emantor ];
platforms = with platforms; linux;
2023-11-23 21:09:35 +00:00
mainProgram = "ser2net";
2020-01-11 08:31:51 +00:00
};
}