nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit b745ac6f6c25cfc1c8b15c05774148ab9394ac1f
parent 6d68f506bb6616519e87eaa46ed4681d64bd6960
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 14 Jul 2024 15:11:24 +0400

Add terminalpp

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/terminalpp/default.nix | 43+++++++++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -390,6 +390,7 @@ lib.makeScope newScope ( telegabber = callPackage ./misc/telegabber { }; telegram-send = callPackage ./misc/telegram-send { }; telnetpp = callPackage ./misc/telnetpp { }; + terminalpp = callPackage ./misc/terminalpp { }; tinyflux = callPackage ./misc/tinyflux { }; tlstunnel = callPackage ./misc/tlstunnel { }; turbo = callPackage ./misc/turbo { }; diff --git a/pkgs/misc/terminalpp/default.nix b/pkgs/misc/terminalpp/default.nix @@ -0,0 +1,43 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, + doxygen, + boost, + fmt, + gsl-lite, + gtest, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "terminalpp"; + version = "3.1.0"; + + src = fetchFromGitHub { + owner = "KazDragon"; + repo = "terminalpp"; + rev = "v${finalAttrs.version}"; + hash = "sha256-aD80uiZKyYRD2C7Oi+ESode6YZ0/KQUSor3u6nb5OD8="; + }; + + nativeBuildInputs = [ + cmake + doxygen + ]; + + buildInputs = [ + boost + fmt + gsl-lite + gtest + ]; + + meta = { + description = "A C++ library for interacting with ANSI terminal windows"; + homepage = "https://github.com/KazDragon/terminalpp"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.sikmir ]; + platforms = lib.platforms.unix; + }; +})