aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/libraries/appindicator-sharp/default.nix
blob: 9eff4e3895ba15fe49de9c86e2ced10f4a5c0a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  autoreconfHook,
  fetchFromGitHub,
  lib,
  libappindicator,
  mono,
  gtk-sharp-3_0,
  pkg-config,
  stdenv,
}:

stdenv.mkDerivation rec {
  pname = "appindicator-sharp";
  version = "5a79cde93da6d68a4b1373f1ce5796c3c5fe1b37";

  src = fetchFromGitHub {
    owner = "stsundermann";
    repo = "appindicator-sharp";
    rev = version;
    sha256 = "sha256:1i0vqbp05l29f5v9ygp7flm4s05pcnn5ivl578mxmhb51s7ncw6l";
  };

  nativeBuildInputs = [
    autoreconfHook
    mono
    pkg-config
  ];

  buildInputs = [
    gtk-sharp-3_0
    libappindicator
  ];

  ac_cv_path_MDOC = "no";
  installFlagsArray = ["GAPIXMLDIR=/tmp/gapixml"];

  meta = {
    description = "Bindings for appindicator using gobject-introspection";
    homepage = "https://github.com/stsundermann/appindicator-sharp";
    license = lib.licenses.lgpl3Only;
    maintainers = with lib.maintainers; [ kevincox ];
  };
}