depot/third_party/nixpkgs/pkgs/development/libraries/qmarkdowntextedit/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

34 lines
820 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, qmake
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "qmarkdowntextedit";
version = "unstable-2022-08-24";
src = fetchFromGitHub {
owner = "pbek";
repo = pname;
rev = "f7ddc0d520407405b9b132ca239f4a927e3025e6";
sha256 = "sha256-TEb2w48MZ8U1INVvUiS1XohdvnVLBCTba31AwATd/oE=";
};
nativeBuildInputs = [ qmake wrapQtAppsHook ];
qmakeFlags = [
"qmarkdowntextedit-lib.pro"
"PREFIX=${placeholder "out"}"
"LIBDIR=${placeholder "out"}/lib"
];
meta = with lib; {
description = "C++ Qt QPlainTextEdit widget with markdown highlighting and some other goodies";
homepage = "https://github.com/pbek/qmarkdowntextedit";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ rewine ];
};
}