nur-packages

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

commit ff6078b8fe21039e769d50dd7ab542e8ce2ed3c2
parent 1f3caad8a99955aecbf16f480b81d0486d3f1b76
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Mon, 24 Jul 2023 00:49:09 +0400

Add tvision, turbo

Diffstat:
Mpkgs/default.nix | 2++
Apkgs/misc/turbo/default.nix | 30++++++++++++++++++++++++++++++
Apkgs/misc/tvision/default.nix | 25+++++++++++++++++++++++++
3 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -383,6 +383,8 @@ lib.makeScope newScope ( telnetpp = callPackage ./misc/telnetpp { }; tinyflux = callPackage ./misc/tinyflux { }; tlstunnel = callPackage ./misc/tlstunnel { }; + turbo = callPackage ./misc/turbo { }; + tvision = callPackage ./misc/tvision { }; wik = callPackage ./misc/wik { }; worm = callPackage ./misc/worm { }; wptools = callPackage ./misc/wptools { }; diff --git a/pkgs/misc/turbo/default.nix b/pkgs/misc/turbo/default.nix @@ -0,0 +1,30 @@ +{ lib, stdenv, fetchFromGitHub, cmake, file, tvision }: + +stdenv.mkDerivation rec { + pname = "turbo"; + version = "2023-06-22"; + + src = fetchFromGitHub { + owner = "magiblot"; + repo = "turbo"; + rev = "45a02f7de283b404e3be40712adf0f125bda4641"; + hash = "sha256-hN8l536zPCvnBBlVFZGbdjIHQ0Lq3p6m5peXPdNEM6Q="; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ + file # libmagic + tvision + ]; + + cmakeFlags = [ "-DTURBO_USE_SYSTEM_TVISION=ON" ]; + + meta = with lib; { + description = "An experimental text editor based on Scintilla and Turbo Vision"; + inherit (src.meta) homepage; + license = licenses.free; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/misc/tvision/default.nix b/pkgs/misc/tvision/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, cmake, ncurses }: + +stdenv.mkDerivation rec { + pname = "tvision"; + version = "2023-06-22"; + + src = fetchFromGitHub { + owner = "magiblot"; + repo = "tvision"; + rev = "92177cb365b523b0bc3e17d865292045ed7e0073"; + hash = "sha256-6Itw1Uy9AXY5Zi+eBSMBtqft7xF+rYApLdH6dgSfepE="; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ ncurses ]; + + meta = with lib; { + description = "A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces"; + inherit (src.meta) homepage; + license = licenses.free; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}