nixpkgs/pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
887 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
2021-01-17 02:21:50 +00:00
, pkg-config
, meson
, ninja
, vala
, gtk3
, granite
, wingpanel
, libgee
, libxml2
}:
2018-08-20 20:31:18 +00:00
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-nightlight";
version = "2.1.1";
2018-08-20 20:31:18 +00:00
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
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
];
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
2018-08-20 20:31:18 +00:00
description = "Night Light Indicator for Wingpanel";
homepage = "https://github.com/elementary/wingpanel-indicator-nightlight";
2018-08-20 20:31:18 +00:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = teams.pantheon.members;
2018-08-20 20:31:18 +00:00
};
}