added dedicated dir for my nurPkgs

This commit is contained in:
Sebastian Moser
2024-06-24 03:28:28 +02:00
parent 057de1edd4
commit a9dd255ab5
3 changed files with 0 additions and 0 deletions

43
mods/nurPkgs/cbm.nix Normal file
View File

@@ -0,0 +1,43 @@
{ stdenv
, fetchFromGitHub
, ncurses
, autoreconfHook
, lib
}:
stdenv.mkDerivation rec {
pname = "cbm";
version = "0.3.2";
src = fetchFromGitHub {
owner = "resurrecting-open-source-projects";
repo = "cbm";
rev = "master";
sha256 = "sha256-Ubm8jky8nbJZWVSlqipg22ZjlnsgdVmoQWxYi9cyags=";
};
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
ncurses
];
meta = with lib; {
description = "A small pogram to display network traffic of interfaces in realtime";
longDescription = ''
Simple curses-based GUI.
It is useful for Internet or LAN speed tests, measuring the velocity of a link, to establish a benchmark or to monitor your connections.
CBM can be used with virtual, wired or wireless networks.
Originally imported from some tarballs from the Debian Project: http://snapshot.debian.org/package/cbm/. Now maintained by volunteers.
'';
homepage = "https://github.com/resurrecting-open-source-projects/cbm";
license = licenses.gpl2Only;
#maintainers = [ ];
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,37 @@
{ stdenv
, fetchFromGitHub
, autoreconfHook
, lib
, openssl
}:
stdenv.mkDerivation rec {
pname = "mac-telnet";
version = "0.5.1";
src = fetchFromGitHub {
owner = "haakonnessjoen";
repo = "MAC-Telnet";
rev = "v${version}";
sha256 = "sha256-8DgVlxvRHh5u0Tl9K0i1m7DUqg9h7uL94M7ZaBx3c5s=";
};
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
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;
};
}

55
mods/nurPkgs/vis.nix Normal file
View File

@@ -0,0 +1,55 @@
{ stdenv
, fetchFromGitHub
, ncurses
, cmake
, moreutils
, lib
, ftxui
}:
stdenv.mkDerivation rec {
pname = "vis";
version = "0.1.0";
src = fetchFromGitHub {
owner = "0xdeadbeer";
repo = "vis";
rev = "v${version}";
sha256 = "sha256-Lf+xbAivGdGbrZ4y3I3b7hGS2mBQZ/hJ2zu9+4zluOg=";
};
# this package builds with ftxui from nixpkgs which is v5.0.0
# so i choose to use that, otherwise the v3.0.0 specified in the CMakeLists.txt of the projects source
# could be used like this
localFtxui = fetchFromGitHub {
owner = "ArthurSonzogni";
repo = "ftxui";
rev = "v3.0.0";
sha256 = "sha256-2pCk4drYIprUKcjnrlX6WzPted7MUAp973EmAQX3RIE=";
};
cmakeFlags = [ "-DFETCHCONTENT_SOURCE_DIR_FTXUI=${ftxui.src}" ];
nativeBuildInputs = [
cmake
];
buildInputs = [
ncurses
moreutils
ftxui
];
meta = with lib; {
description = "Vi Scheduler (vis) is a simple TUI program built for managing your schedules in a calendar-like grid.";
longDescription = ''
Vi Scheduler (VIS) is a lightweight tool that brings a Vim-like calendar to your terminal. It allows you to quickly view and edit your schedule, appointments, and tasks without leaving your command-line interface.
Built using C++ and the Ncurses library, vis offers a fast and efficient way to manage your time in the terminal. It suppors various navigation and editing commands inspired by Vim, such as navigating between days or months, adding and deleting events.
'';
homepage = "https://github.com/0xdeadbeer/vis";
license = licenses.gpl3Only;
#maintainers = [ ];
platforms = platforms.all;
};
}