3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/instant-messengers/slack/dark-theme.nix

23 lines
480 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
let
2019-07-26 14:25:38 +01:00
rev = "e2a6a9cd9da70175881ab991220c86aa87179509";
sha256 = "1gw0kpszgflk3vqjlm5igd2rznh36mb2j1iqrcqi6pzxlpccv1lg";
version = "2019-07-25";
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;
};
2019-06-19 16:45:34 +01:00
dontUnpack = true;
buildCommand = ''
mkdir $out
cp $src $out/theme.css
'';
}