switch to base16 project-wide
This commit is contained in:
parent
b46e8dbb37
commit
fb18ff7455
28 changed files with 847 additions and 810 deletions
|
|
@ -1,56 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchYarnDeps,
|
||||
yarn,
|
||||
nodejs,
|
||||
fixup-yarn-lock,
|
||||
nodePackages,
|
||||
catppuccin-discord-git,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "catppuccin-discord";
|
||||
version = "unstable-${catppuccin-discord-git.rev}";
|
||||
|
||||
src = catppuccin-discord-git;
|
||||
|
||||
yarnOfflineCache = fetchYarnDeps {
|
||||
yarnLock = "${src}/yarn.lock";
|
||||
hash = "sha256-BhE3aKyA/LBErjWx+lbEVb/CIXhqHkXbV+9U2djIBhs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
yarn
|
||||
nodejs
|
||||
fixup-yarn-lock
|
||||
nodePackages.sass
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace package.json \
|
||||
--replace-fail "--no-charset --no-source-map" ""
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
export HOME=$TMPDIR
|
||||
yarn config --offline set yarn-offline-mirror ${yarnOfflineCache}
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn install --offline --frozen-lockfile --ignore-scripts --ignore-platform
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
yarn --offline release
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/catppuccin-discord
|
||||
cp -r dist/dist/* $out/share/catppuccin-discord/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Soothing pastel theme for Discord";
|
||||
homepage = "https://github.com/catppuccin/discord";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,10 +1,6 @@
|
|||
final: prev: {
|
||||
spotify-webapp = final.callPackage ./spotify-webapp { };
|
||||
|
||||
catppuccin-discord = final.callPackage ./catppuccin-discord {
|
||||
inherit (final) catppuccin-discord-git;
|
||||
};
|
||||
|
||||
openmw = prev.openmw.overrideAttrs (oldAttrs: {
|
||||
pname = "openmw";
|
||||
src = final.openmw-git;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue