summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/slack/dark-theme.nix
blob: 903d8e60d6d5715fc93deeb9bcc9d48c0b73dc5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, fetchgit }:

stdenv.mkDerivation rec {
  rev = "f760176c6e133667ce73aeecba8b0c0eb8822941";
  version = "2019-09-11";
  pname = "slack-theme-black";

  src = fetchgit { inherit rev;
    url = "https://github.com/laCour/slack-night-mode";
    sha256 = "1kx8nx7mhrabs5wxqgvy86s5smy5hw49gv6yc95yxwx6ymwpgbzj";
  };

  dontUnpack = true;

  buildCommand = ''
    mkdir $out
    cp $src/css/raw/black.css $out/theme.css
  '';
}