summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/extensions/night-theme-switcher/default.nix
blob: 8d3a775e949e2affc7e632600467243881b1e489 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchgit }:

stdenv.mkDerivation rec {
  pname = "gnome-shell-extension-night-theme-switcher";
  version = "2.1";

  src = fetchgit {
    url = "https://git.romainvigier.fr/Romain/nightthemeswitcher-gnome-shell-extension";
    rev = "v${version}";
    sha256 = "1md44vmc83cp35riszhdvysnvl8pmkcpf5j6n4i2b3wwcjwxqwfy";
  };

  makeFlags = [ "GSEXT_DIR_LOCAL=${placeholder "out"}/share/gnome-shell/extensions" ];

  meta = with stdenv.lib; {
    description = "Automatically change the GTK theme to dark variant when Night Light activates";
    license = licenses.gpl3;
    maintainers = with maintainers; [ jonafato ];
    homepage = https://git.romainvigier.fr/Romain/nightthemeswitcher-gnome-shell-extension;
  };
}