packaged mac-telnet

This commit is contained in:
Sebastian Moser
2024-05-14 23:30:43 +02:00
parent 55f2efb749
commit ac7b85fdc2
3 changed files with 37 additions and 0 deletions

35
mods/mac-telnet.nix Normal file
View File

@@ -0,0 +1,35 @@
{ stdenv
, fetchFromGitHub
, autoreconfHook
, lib
, openssl
}:
stdenv.mkDerivation rec {
pname = "cbm";
version = "0.3.2";
src = fetchFromGitHub {
owner = "haakonnessjoen";
repo = "MAC-Telnet";
rev = "master";
sha256 = "sha256-8DgVlxvRHh5u0Tl9K0i1m7DUqg9h7uL94M7ZaBx3c5s=";
};
nativeBuildInputs = [
autoreconfHook
openssl
];
configureFlags = [
"--without-config"
];
meta = with lib; {
description = "Open source MAC Telnet client and server for connecting to Mikrotik RouterOS routers and Posix devices using MAC addresses";
homepage = "http://lunatic.no/2010/10/routeros-mac-telnet-application-for-linux-users/";
license = licenses.gpl2Only;
#maintainers = [ ];
platforms = platforms.all;
};
}