Unverified Commit ed1808da authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

chewing-editor: 0.1.1 -> 0.1.2 (#454126)

parents edf1e712 35383f5d
Loading
Loading
Loading
Loading
+16 −9
Original line number Diff line number Diff line
{
  lib,
  mkDerivation,
  stdenv,
  fetchFromGitHub,
  gtest,
  cmake,
  pkg-config,
  libchewing,
  qt5,
  qtbase,
  qttools,
}:

mkDerivation rec {
stdenv.mkDerivation rec {
  pname = "chewing-editor";
  version = "0.1.1";
  version = "0.1.2";

  src = fetchFromGitHub {
    owner = "chewing";
    repo = "chewing-editor";
    rev = version;
    sha256 = "0kc2hjx1gplm3s3p1r5sn0cyxw3k1q4gyv08q9r6rs4sg7xh2w7w";
    tag = version;
    hash = "sha256-gF3OotO/xb3Dc0YjVwAKIYnuEPIrgjpGR2tdjOBT4aI=";
  };

  doCheck = true;

  strictDeps = true;

  nativeBuildInputs = [
    cmake
    pkg-config
    qt5.wrapQtAppsHook
  ];
  buildInputs = [
    gtest
    libchewing
    qtbase
    qttools
  ];

  meta = with lib; {
  meta = {
    description = "Cross platform chewing user phrase editor";
    mainProgram = "chewing-editor";
    longDescription = ''
      chewing-editor is a cross platform chewing user phrase editor. It provides a easy way to manage user phrase. With it, user can customize their user phrase to increase input performance.
    '';
    homepage = "https://github.com/chewing/chewing-editor";
    license = licenses.gpl2Plus;
    maintainers = [ maintainers.ShamrockLee ];
    platforms = platforms.all;
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ ShamrockLee ];
    platforms = lib.platforms.all;
    broken = stdenv.hostPlatform.isDarwin;
  };
}