aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/default.nix1
-rw-r--r--packages/phocus/default.nix60
2 files changed, 0 insertions, 61 deletions
diff --git a/packages/default.nix b/packages/default.nix
index b908fc7..5411894 100644
--- a/packages/default.nix
+++ b/packages/default.nix
@@ -4,5 +4,4 @@ let
in
{
"neovim" = neovim.packages.x86_64-linux.neovim;
- "phocus" = pkgs.callPackage ./phocus { src = inputs.phocus; };
}
diff --git a/packages/phocus/default.nix b/packages/phocus/default.nix
deleted file mode 100644
index 662a199..0000000
--- a/packages/phocus/default.nix
+++ /dev/null
@@ -1,60 +0,0 @@
-{ lib, stdenvNoCC, sass, src }:
-
-let
- # Iceberg theme with nightlamp bg
- colors = {
- base00 = "18191f";
- base01 = "17171b";
- base02 = "c9cdd7";
- base03 = "6b7089";
- base04 = "090a10";
- base05 = "c6c8d1";
- base06 = "d0d2db";
- base07 = "27282e";
- base08 = "e27878";
- base09 = "e2a478";
- base0A = "e9b189";
- base0B = "b4be82";
- base0C = "89b8c2";
- base0D = "84a0c6";
- base0E = "a093c7";
- base0F = "a0a0d3";
- };
-in
-stdenvNoCC.mkDerivation rec {
- pname = "phocus";
- version = "unstable-2021-05-05";
-
- inherit src;
-
- patchPhase = with colors; ''
- runHook prePatch
- substituteInPlace scss/gtk-3.0/_colors.scss \
- --replace 16161c ${base00} \
- --replace 232530 ${base01} \
- --replace 2e303e ${base03} \
- --replace e95678 ${base08} \
- --replace f09383 ${base09} \
- --replace fab795 ${base0A} \
- --replace 29d398 ${base0B} \
- --replace 1eb980 ${base0B} \
- --replace 26bbd9 ${base0D} \
- --replace ee64ae ${base0E} \
- --replace ec6a88 ${base08} \
- --replace fdf0ed ${base05} \
- --replace aabbcc ${base0D} \
- --replace ccbbaa ${base0E}
- runHook postPatch
- '';
-
- nativeBuildInputs = [ sass ];
-
- installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
-
- meta = with lib; {
- description = "phocus with nightlamp (iceberg variant) theme";
- homepage = "https://git.sr.ht/~boppy/phocus";
- license = [ licenses.mit ];
- maintainers = with maintainers; [ boppyt ];
- };
-}