1{ stdenv, fetchFromGitHub, lib
2, pkg-config, cmake
3, gtk3
4, ayatana-ido
5}:
6
7stdenv.mkDerivation rec {
8 pname = "libayatana-indicator";
9 version = "0.9.4";
10
11 src = fetchFromGitHub {
12 owner = "AyatanaIndicators";
13 repo = "libayatana-indicator";
14 rev = version;
15 sha256 = "sha256-OsguZ+jl274uPSCTFHq/ZwUE3yHR7MlUPHCpfmn1F7A=";
16 };
17
18 nativeBuildInputs = [ pkg-config cmake ];
19
20 buildInputs = [ gtk3 ];
21
22 propagatedBuildInputs = [ ayatana-ido ];
23
24 meta = with lib; {
25 description = "Ayatana Indicators Shared Library";
26 homepage = "https://github.com/AyatanaIndicators/libayatana-indicator";
27 changelog = "https://github.com/AyatanaIndicators/libayatana-indicator/blob/${version}/ChangeLog";
28 license = licenses.gpl3Plus;
29 maintainers = [ maintainers.nickhu ];
30 platforms = platforms.linux;
31 };
32}