package.nix (803B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 file, 7 tvision, 8 }: 9 10 stdenv.mkDerivation { 11 pname = "turbo"; 12 version = "0-unstable-2025-08-26"; 13 14 __structuredAttrs = true; 15 16 src = fetchFromGitHub { 17 owner = "magiblot"; 18 repo = "turbo"; 19 rev = "695175f96462f4dc9f1411de552b321f0ef1eccb"; 20 hash = "sha256-vXRde44RvXYXpPAbKms38RpvGcGCV7wAfdQdjxoBtcQ="; 21 }; 22 23 nativeBuildInputs = [ cmake ]; 24 25 buildInputs = [ 26 file # libmagic 27 tvision 28 ]; 29 30 cmakeFlags = [ (lib.cmakeBool "TURBO_USE_SYSTEM_TVISION" true) ]; 31 32 meta = { 33 description = "An experimental text editor based on Scintilla and Turbo Vision"; 34 homepage = "https://github.com/magiblot/turbo"; 35 license = lib.licenses.free; 36 maintainers = [ lib.maintainers.sikmir ]; 37 platforms = lib.platforms.unix; 38 }; 39 }
