diff options
-rw-r--r-- | default.nix | 2 | ||||
-rw-r--r-- | third_party/go/git-appraise/git-appraise/default.nix | 18 | ||||
-rw-r--r-- | third_party/go/git-appraise/git-appraise/deps.nix | 3 |
3 files changed, 23 insertions, 0 deletions
diff --git a/default.nix b/default.nix index d84653fa7cf1..3904ced8c728 100644 --- a/default.nix +++ b/default.nix @@ -5,6 +5,8 @@ let localPkgs = super: pkgs: { tazjin.tazblog = import ./services/tazblog { inherit pkgs; }; tazjin.gemma = import ./services/gemma { inherit pkgs; }; + + thirdParty.gitAppraise = pkgs.callPackage ./third_party/go/git-appraise/git-appraise {}; }; # TODO(tazjin): It might be preferable to pin a specific commit of diff --git a/third_party/go/git-appraise/git-appraise/default.nix b/third_party/go/git-appraise/git-appraise/default.nix new file mode 100644 index 000000000000..24a06ca95193 --- /dev/null +++ b/third_party/go/git-appraise/git-appraise/default.nix @@ -0,0 +1,18 @@ +# This file was generated by https://github.com/kamilchm/go2nix v1.3.0 +{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: + +buildGoPackage rec { + name = "git-appraise-unstable-${version}"; + version = "2019-01-16"; + rev = "2261b194e7ffd6dea6145dac3d0a25e564f8e3fc"; + + goPackagePath = "github.com/google/git-appraise"; + + src = fetchgit { + inherit rev; + url = "https://github.com/google/git-appraise"; + sha256 = "0flvpn1mcmgpjmfmndyx2rnn5n5rb0344590if81x5jz11qj4x0c"; + }; + + goDeps = ./deps.nix; +} diff --git a/third_party/go/git-appraise/git-appraise/deps.nix b/third_party/go/git-appraise/git-appraise/deps.nix new file mode 100644 index 000000000000..0429d8876b29 --- /dev/null +++ b/third_party/go/git-appraise/git-appraise/deps.nix @@ -0,0 +1,3 @@ +# This file was generated by https://github.com/kamilchm/go2nix v1.3.0 +[ +] |