default.nix (766B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 ncurses, 7 }: 8 9 stdenv.mkDerivation { 10 pname = "tvision"; 11 version = "0-unstable-2024-02-28"; 12 13 src = fetchFromGitHub { 14 owner = "magiblot"; 15 repo = "tvision"; 16 rev = "d1fa783e0fa8685c199563a466cdc221e8d9b85c"; 17 hash = "sha256-MEAGs/PhLPmmn7+9J2DbZm+FhrXBZynv38JdAptxtLA="; 18 }; 19 20 nativeBuildInputs = [ cmake ]; 21 22 buildInputs = [ ncurses ]; 23 24 cmakeFlags = [ (lib.cmakeBool "TV_BUILD_EXAMPLES" false) ]; 25 26 meta = { 27 description = "A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces"; 28 homepage = "https://github.com/magiblot/tvision"; 29 license = lib.licenses.free; 30 maintainers = [ lib.maintainers.sikmir ]; 31 platforms = lib.platforms.unix; 32 }; 33 }