From 699614630245ad3bff7140ca9eb01b287635a613 Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Tue, 2 Apr 2024 15:00:51 +0200 Subject: [PATCH] made nur ready --- mods/cbm.nix | 18 ++++++++++++++++++ nur.nix | 3 +++ 2 files changed, 21 insertions(+) diff --git a/mods/cbm.nix b/mods/cbm.nix index 2ed207e..b1e2e75 100755 --- a/mods/cbm.nix +++ b/mods/cbm.nix @@ -2,6 +2,7 @@ , fetchFromGitHub , ncurses , autoreconfHook +, lib }: stdenv.mkDerivation rec { @@ -19,4 +20,21 @@ stdenv.mkDerivation rec { ncurses autoreconfHook ]; + + 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; + }; } diff --git a/nur.nix b/nur.nix index 09e3c02..d0a821d 100644 --- a/nur.nix +++ b/nur.nix @@ -1,3 +1,6 @@ +# This is the file for my NUR Repo +# Reminder for myself: Any package here should not import , but use the pkgs + { pkgs ? import { } }: { cbm = pkgs.callPackage ./mods/cbm.nix {}; }