2020-05-24 15:25:38 +00:00
|
|
|
{ stdenv, fetchFromGitHub, lib
|
2022-10-18 12:11:09 +00:00
|
|
|
, pkg-config, cmake
|
2020-05-24 15:25:38 +00:00
|
|
|
, gtk3
|
|
|
|
, ayatana-ido
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-10-18 12:11:09 +00:00
|
|
|
pname = "libayatana-indicator";
|
2023-01-27 16:23:02 +00:00
|
|
|
version = "0.9.3";
|
2020-05-24 15:25:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AyatanaIndicators";
|
|
|
|
repo = "libayatana-indicator";
|
|
|
|
rev = version;
|
2023-01-27 16:23:02 +00:00
|
|
|
sha256 = "sha256-tOZcrcuZowqDg/LRYTY6PCxKnpEd67k4xAHrIKupunI=";
|
2020-05-24 15:25:38 +00:00
|
|
|
};
|
|
|
|
|
2022-10-18 12:11:09 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
2020-05-24 15:25:38 +00:00
|
|
|
|
2022-10-18 12:11:09 +00:00
|
|
|
buildInputs = [ gtk3 ];
|
2020-05-24 15:25:38 +00:00
|
|
|
|
2022-10-18 12:11:09 +00:00
|
|
|
propagatedBuildInputs = [ ayatana-ido ];
|
2020-05-24 15:25:38 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-05-24 15:25:38 +00:00
|
|
|
description = "Ayatana Indicators Shared Library";
|
|
|
|
homepage = "https://github.com/AyatanaIndicators/libayatana-indicator";
|
|
|
|
changelog = "https://github.com/AyatanaIndicators/libayatana-indicator/blob/${version}/ChangeLog";
|
2020-10-13 13:13:10 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-05-24 15:25:38 +00:00
|
|
|
maintainers = [ maintainers.nickhu ];
|
2020-10-13 13:13:10 +00:00
|
|
|
platforms = platforms.linux;
|
2020-05-24 15:25:38 +00:00
|
|
|
};
|
|
|
|
}
|