2021-11-26 08:51:18 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-08-05 18:02:06 +00:00
|
|
|
, fetchFromGitHub
|
2020-07-29 16:33:39 +00:00
|
|
|
, nix-update-script
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2019-08-05 18:02:06 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, vala
|
|
|
|
, gtk3
|
|
|
|
, granite
|
|
|
|
, wingpanel
|
|
|
|
, libgee
|
|
|
|
, libxml2
|
|
|
|
}:
|
2018-08-20 20:31:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wingpanel-indicator-nightlight";
|
2022-10-19 08:08:54 +00:00
|
|
|
version = "2.1.1";
|
2018-08-20 20:31:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-10-19 08:08:54 +00:00
|
|
|
sha256 = "sha256-oZUPveNlm9p8gKeDGopfhu1rBbydLaQSlkPs6+WHrUo=";
|
2018-08-20 20:31:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
libxml2
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2018-08-20 20:31:18 +00:00
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
wingpanel
|
|
|
|
];
|
|
|
|
|
2022-01-19 14:53:31 +00:00
|
|
|
passthru = {
|
2022-12-25 22:11:14 +00:00
|
|
|
updateScript = nix-update-script { };
|
2022-01-19 14:53:31 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-20 20:31:18 +00:00
|
|
|
description = "Night Light Indicator for Wingpanel";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/elementary/wingpanel-indicator-nightlight";
|
2018-08-20 20:31:18 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-09-18 15:00:51 +00:00
|
|
|
maintainers = teams.pantheon.members;
|
2018-08-20 20:31:18 +00:00
|
|
|
};
|
|
|
|
}
|