summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-07-02T13·38+0100
committerVincent Ambo <tazjin@google.com>2019-07-02T13·39+0100
commitc31a0b552b98cf297e3b7c90c63968faab0a1f49 (patch)
treeecee0c1870c2c3f2e1c3d6ffea89216e78ec77cf
parentfe642c30f01c4f3f6637851595ad1b36032461aa (diff)
feat(git-appraise): Add Nix build configuration r/11
-rw-r--r--default.nix2
-rw-r--r--third_party/go/git-appraise/git-appraise/default.nix18
-rw-r--r--third_party/go/git-appraise/git-appraise/deps.nix3
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
+[
+]