qmarkdowntextedit: unstable-2022-06-30 -> unstable-2022-08-24

This commit is contained in:
rewine 2022-08-24 23:46:55 +08:00
parent ece2858b38
commit 568a8c875d

View file

@ -1,20 +1,19 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, qmake , qmake
, wrapQtAppsHook , wrapQtAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "qmarkdowntextedit"; pname = "qmarkdowntextedit";
version = "unstable-2022-06-30"; version = "unstable-2022-08-24";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pbek"; owner = "pbek";
repo = pname; repo = pname;
rev = "3e52e20881d262c93b532641127c060267a500fe"; rev = "f7ddc0d520407405b9b132ca239f4a927e3025e6";
sha256 = "sha256-cvePq1X/Tq6ob762qjuYmoa8XNtVOiFTy/nbeXIih0w"; sha256 = "sha256-TEb2w48MZ8U1INVvUiS1XohdvnVLBCTba31AwATd/oE=";
}; };
nativeBuildInputs = [ qmake wrapQtAppsHook ]; nativeBuildInputs = [ qmake wrapQtAppsHook ];
@ -25,19 +24,6 @@ stdenv.mkDerivation rec {
"LIBDIR=${placeholder "out"}/lib" "LIBDIR=${placeholder "out"}/lib"
]; ];
patches = [
(fetchpatch {
name = "install_trans_by_qmake";
url = "https://github.com/pbek/qmarkdowntextedit/commit/3e3992dcdc03a997dbb9b0634368c3feb7af0a17.patch";
sha256 = "sha256-6on53YnmUwoAAg48rwT64PCvvLo9ooU2Vlh9bOjvZzw";
})
(fetchpatch {
name = "Generate_pkgconfig_file_by_qmake";
url = "https://github.com/pbek/qmarkdowntextedit/commit/025153d3ab565ba071ffe79212d7befae3db2ba1.patch";
sha256 = "sha256-FfTmlQl1Hn8edtbaj8Gsu3hBRB4ebah6Z+YDZ0cwVac=";
})
];
meta = with lib; { meta = with lib; {
description = "C++ Qt QPlainTextEdit widget with markdown highlighting and some other goodies"; description = "C++ Qt QPlainTextEdit widget with markdown highlighting and some other goodies";
homepage = "https://github.com/pbek/qmarkdowntextedit"; homepage = "https://github.com/pbek/qmarkdowntextedit";