lol
at 24.11-pre 35 lines 812 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, qmake 5}: 6 7stdenv.mkDerivation rec { 8 pname = "qmarkdowntextedit"; 9 version = "unstable-2023-04-02"; 10 11 src = fetchFromGitHub { 12 owner = "pbek"; 13 repo = pname; 14 rev = "a23cc53e7e40e9dcfd0f815b2b3b6a5dc7304405"; 15 hash = "sha256-EYBX2SJa8o4R/zEjSFbmFxhLI726WY21XmCkWIqPeFc="; 16 }; 17 18 nativeBuildInputs = [ qmake ]; 19 20 dontWrapQtApps = true; 21 22 qmakeFlags = [ 23 "qmarkdowntextedit-lib.pro" 24 "PREFIX=${placeholder "out"}" 25 "LIBDIR=${placeholder "out"}/lib" 26 ]; 27 28 meta = with lib; { 29 description = "C++ Qt QPlainTextEdit widget with markdown highlighting and some other goodies"; 30 homepage = "https://github.com/pbek/qmarkdowntextedit"; 31 license = licenses.mit; 32 platforms = platforms.linux; 33 maintainers = with maintainers; [ rewine ]; 34 }; 35}