default.nix (774B)
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-2024-02-05"; 13 14 src = fetchFromGitHub { 15 owner = "magiblot"; 16 repo = "turbo"; 17 rev = "3251358bb06e277309b9ae678f1c88c315c7f856"; 18 hash = "sha256-5EdVrzu9MxXTfQSfenjPQJ8pBizRAhhAAxyA3aObCvU="; 19 }; 20 21 nativeBuildInputs = [ cmake ]; 22 23 buildInputs = [ 24 file # libmagic 25 tvision 26 ]; 27 28 cmakeFlags = [ (lib.cmakeBool "TURBO_USE_SYSTEM_TVISION" true) ]; 29 30 meta = { 31 description = "An experimental text editor based on Scintilla and Turbo Vision"; 32 homepage = "https://github.com/magiblot/turbo"; 33 license = lib.licenses.free; 34 maintainers = [ lib.maintainers.sikmir ]; 35 platforms = lib.platforms.unix; 36 }; 37 }