diff --git a/nix/git-plan.nix b/nix/git-plan.nix new file mode 100644 index 0000000..9406194 --- /dev/null +++ b/nix/git-plan.nix @@ -0,0 +1,11 @@ + [ + { + goPackagePath = "github.com/spf13/cobra"; + fetch = { + type = "git"; + url = "https://github.com/spf13/cobra"; + rev = "b80588d523ec50c7fee20218426cf2ff70920f06"; + sha256 = "0gl861bn6bb45ands4742xzaxdvl69r4an1v7cyfis7mc450j7lg"; + }; + } + ] diff --git a/nix/home.nix b/nix/home.nix index f508bb0..5091810 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -2,9 +2,24 @@ with lib; -{ +let + git-plan = pkgs.buildGoPackage rec { + name = "git-plan"; + version = "0"; + goPackagePath = "gitlab.com/haaksmash/git-plan"; + src = pkgs.fetchFromGitLab { + owner = "haaksmash"; + repo = "git-plan"; + rev = "7623e2e2a7ca5556e88691a9e5cef63eb8d42ede"; + sha256 = "0sqf2fcm73sswg9nk9k1zxxxy6np5c9mm6zf9iy1xrsq6p88ksp7"; + }; + + goDeps = ./git-plan.nix; + }; +in { home.packages = with pkgs; [ direnv + git-plan htop jq keybase