package up the last stable git-plan and make it available

This commit is contained in:
Haak Saxberg 2019-08-24 02:38:45 -07:00
parent 8331d0c717
commit 3961b69dbb
2 changed files with 27 additions and 1 deletions

11
nix/git-plan.nix Normal file
View file

@ -0,0 +1,11 @@
[
{
goPackagePath = "github.com/spf13/cobra";
fetch = {
type = "git";
url = "https://github.com/spf13/cobra";
rev = "b80588d523ec50c7fee20218426cf2ff70920f06";
sha256 = "0gl861bn6bb45ands4742xzaxdvl69r4an1v7cyfis7mc450j7lg";
};
}
]

View file

@ -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