Unverified Commit 124fa580 authored by nicoo's avatar nicoo Committed by GitHub
Browse files

Merge #313316: ibus-engines.bamboo 0.8.2-rc18 → 0.8.4-rc3

parents 8de5bd2a 6536fbb1
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -1882,6 +1882,12 @@
      fingerprint = "BF47 81E1 F304 1ADF 18CE  C401 DE16 C7D1 536D A72F";
    }];
  };
  astronaut0212 = {
    email = "goatastronaut0212@proton.me";
    github = "goatastronaut0212";
    githubId = 119769817;
    name = "goatastronaut0212";
  };
  astsmtl = {
    email = "astsmtl@yandex.ru";
    github = "astsmtl";
@@ -19771,12 +19777,6 @@
    githubId = 36031171;
    name = "Supa";
  };
  superbo = {
    email = "supernbo@gmail.com";
    github = "SuperBo";
    githubId = 2666479;
    name = "Y Nguyen";
  };
  superherointj = {
    email = "sergiomarcelo@yandex.com";
    github = "superherointj";
+4 −13
Original line number Diff line number Diff line
{ lib, stdenv
, fetchFromGitHub
, glib
, gettext
, xorg
, pkg-config
, wrapGAppsHook3
, gtk3
, go
}:

stdenv.mkDerivation rec {
  pname = "ibus-bamboo";
  version = "0.8.2-rc18";
  version = "0.8.4-rc3";

  src = fetchFromGitHub {
    owner = "BambooEngine";
    repo = pname;
    rev = "v" + lib.toUpper version;
    sha256 = "sha256-5FSGPUJtUdYyeqJenvKaMIJcvon91I//62fnTCXcdig=";
    sha256 = "sha256-P09gXuxbD4RJcXvgnRyFgSxt6NEXfpXJDPzl50ZtAxM=";
  };

  nativeBuildInputs = [
    gettext
    pkg-config
    wrapGAppsHook3
    go
  ];

  buildInputs = [
    glib
    gtk3
    xorg.libX11
    xorg.xorgproto
    xorg.libXtst
    xorg.libXi
  ];

  preConfigure = ''
    export GOCACHE="$TMPDIR/go-cache"
    sed -i "s,/usr,$out," bamboo.xml
    sed -i "s,/usr,$out," data/bamboo.xml
  '';

  makeFlags = [
@@ -52,6 +43,6 @@ stdenv.mkDerivation rec {
    homepage = "https://github.com/BambooEngine/ibus-bamboo";
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ superbo ];
    maintainers = with maintainers; [ astronaut0212 ];
  };
}