nixpkgs-suyu/pkgs/applications/networking/instant-messengers/slack/dark-theme.nix
Tim Steinbach 66add9f141 slack: Generalize theming
Split out dark theme
Fixes #61155
2019-06-16 09:53:00 -04:00

22 lines
483 B
Nix

{ 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;
};
unpackPhase = "true";
buildCommand = ''
mkdir $out
cp $src $out/theme.css
'';
}