Skip to content

Commit

Permalink
feat: Yoink kubecolor-cattpuccin from bjw-s
Browse files Browse the repository at this point in the history
  • Loading branch information
rodent1 committed Sep 25, 2024
1 parent c1ab31f commit 11e625a
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 48 deletions.
2 changes: 1 addition & 1 deletion homes/_modules/kubernetes/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ in
helmfile
kubeconform
kubernetes-helm
kubecolor
minio-client
talhelper
])
++ (with pkgs.unstable; [
kubecolor
kubectl
stern
talosctl
Expand Down
16 changes: 8 additions & 8 deletions pkgs/_sources/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,24 +79,24 @@
},
"version": "99d0dd50c2b6eb6615ae0f4b6064cfeb14b451da"
},
"kubecolor": {
"kubecolor-catppuccin": {
"cargoLocks": null,
"date": null,
"date": "2024-05-24",
"extract": null,
"name": "kubecolor",
"name": "kubecolor-catppuccin",
"passthru": null,
"pinned": false,
"src": {
"deepClone": false,
"fetchSubmodules": false,
"leaveDotGit": false,
"name": null,
"owner": "hidetatz",
"repo": "kubecolor",
"rev": "v0.0.25",
"sha256": "sha256-FyKTI7Br9BjSpmf9ch2E4EZAWM7/jowZfRrCn4GTcps=",
"owner": "vkhitrin",
"repo": "kubecolor-catppuccin",
"rev": "1d4c2888f7de077e1a837a914a1824873d16762d",
"sha256": "sha256-gTneUh6yMcH6dVKrH00G61a+apasu9tiMyYjvNdOiOw=",
"type": "github"
},
"version": "v0.0.25"
"version": "1d4c2888f7de077e1a837a914a1824873d16762d"
}
}
15 changes: 8 additions & 7 deletions pkgs/_sources/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,16 @@
};
date = "2024-02-16";
};
kubecolor = {
pname = "kubecolor";
version = "v0.0.25";
kubecolor-catppuccin = {
pname = "kubecolor-catppuccin";
version = "1d4c2888f7de077e1a837a914a1824873d16762d";
src = fetchFromGitHub {
owner = "hidetatz";
repo = "kubecolor";
rev = "v0.0.25";
owner = "vkhitrin";
repo = "kubecolor-catppuccin";
rev = "1d4c2888f7de077e1a837a914a1824873d16762d";
fetchSubmodules = false;
sha256 = "sha256-FyKTI7Br9BjSpmf9ch2E4EZAWM7/jowZfRrCn4GTcps=";
sha256 = "sha256-gTneUh6yMcH6dVKrH00G61a+apasu9tiMyYjvNdOiOw=";
};
date = "2024-05-24";
};
}
2 changes: 1 addition & 1 deletion pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let
inherit (pkgs) callPackage;
in
{
# kubecolor = callPackage ./kubecolor.nix { };
kubecolor-catppuccin = callPackage ./kubecolor-catppuccin.nix { };
gh-copilot = callPackage ./gh-copilot.nix { };
gh-tidy = callPackage ./gh-tidy.nix { };
talhelper = inputs.talhelper.packages.${pkgs.system}.default;
Expand Down
13 changes: 13 additions & 0 deletions pkgs/kubecolor-catppuccin.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ pkgs, stdenv, ... }:
let
sourceData = pkgs.callPackage ./_sources/generated.nix { };
packageData = sourceData.kubecolor-catppuccin;
in
stdenv.mkDerivation {
inherit (packageData) pname src version;

installPhase = ''
mkdir -p $out
cp *.yaml $out
'';
}
28 changes: 0 additions & 28 deletions pkgs/kubecolor.nix

This file was deleted.

7 changes: 4 additions & 3 deletions pkgs/nvfetcher.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[kubecolor]
src.github_tag = "hidetatz/kubecolor"
fetch.github = "hidetatz/kubecolor"
[kubecolor-catppuccin]
src.git = "https://github.com/vkhitrin/kubecolor-catppuccin.git"
src.branch = "main"
fetch.github = "vkhitrin/kubecolor-catppuccin"
[gh-copilot-linux-amd64]
src.github_tag = "github/gh-copilot"
src.prefix = "v"
Expand Down

0 comments on commit 11e625a

Please sign in to comment.