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

let
  rev = "56d2007b5ba9f1628a44af6edf5dbdf74cf92278";
  sha256 = "1v264mpf9ddiz8zb7fcyjwy1a2yr5f4xs520gf63kl9378v721da";
  version = "2019-03-15";
in stdenv.mkDerivation {
  inherit version;

  name = "slack-theme-black";
  src = fetchurl {
    url = "https://raw.githubusercontent.com/laCour/slack-night-mode/${rev}/css/raw/black.css";
    inherit sha256;
  };

  dontUnpack = true;

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