qmarkdowntextedit: init at unstable-2022-06-30

rewine 68e8f8a8 f0127393

+50
+48
pkgs/development/libraries/qmarkdowntextedit/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , qmake 6 + , wrapQtAppsHook 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "qmarkdowntextedit"; 11 + version = "unstable-2022-06-30"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "pbek"; 15 + repo = pname; 16 + rev = "3e52e20881d262c93b532641127c060267a500fe"; 17 + sha256 = "sha256-cvePq1X/Tq6ob762qjuYmoa8XNtVOiFTy/nbeXIih0w"; 18 + }; 19 + 20 + nativeBuildInputs = [ qmake wrapQtAppsHook ]; 21 + 22 + qmakeFlags = [ 23 + "qmarkdowntextedit-lib.pro" 24 + "PREFIX=${placeholder "out"}" 25 + "LIBDIR=${placeholder "out"}/lib" 26 + ]; 27 + 28 + patches = [ 29 + (fetchpatch { 30 + name = "install_trans_by_qmake"; 31 + url = "https://github.com/pbek/qmarkdowntextedit/commit/3e3992dcdc03a997dbb9b0634368c3feb7af0a17.patch"; 32 + sha256 = "sha256-6on53YnmUwoAAg48rwT64PCvvLo9ooU2Vlh9bOjvZzw"; 33 + }) 34 + (fetchpatch { 35 + name = "Generate_pkgconfig_file_by_qmake"; 36 + url = "https://github.com/pbek/qmarkdowntextedit/commit/025153d3ab565ba071ffe79212d7befae3db2ba1.patch"; 37 + sha256 = "sha256-FfTmlQl1Hn8edtbaj8Gsu3hBRB4ebah6Z+YDZ0cwVac="; 38 + }) 39 + ]; 40 + 41 + meta = with lib; { 42 + description = "C++ Qt QPlainTextEdit widget with markdown highlighting and some other goodies"; 43 + homepage = "https://github.com/pbek/qmarkdowntextedit"; 44 + license = licenses.mit; 45 + platforms = platforms.linux; 46 + maintainers = with maintainers; [ rewine ]; 47 + }; 48 + }
+2
pkgs/top-level/all-packages.nix
··· 10201 10201 10202 10202 qmk = callPackage ../tools/misc/qmk { }; 10203 10203 10204 + qmarkdowntextedit = libsForQt5.callPackage ../development/libraries/qmarkdowntextedit { }; 10205 + 10204 10206 qodem = callPackage ../tools/networking/qodem { }; 10205 10207 10206 10208 qosmic = libsForQt5.callPackage ../applications/graphics/qosmic { };