feat(git-appraise): Add Nix build configuration
This commit is contained in:
parent
fe642c30f0
commit
c31a0b552b
3 changed files with 23 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ let
|
||||||
localPkgs = super: pkgs: {
|
localPkgs = super: pkgs: {
|
||||||
tazjin.tazblog = import ./services/tazblog { inherit pkgs; };
|
tazjin.tazblog = import ./services/tazblog { inherit pkgs; };
|
||||||
tazjin.gemma = import ./services/gemma { 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
|
# TODO(tazjin): It might be preferable to pin a specific commit of
|
||||||
|
|
|
||||||
18
third_party/go/git-appraise/git-appraise/default.nix
vendored
Normal file
18
third_party/go/git-appraise/git-appraise/default.nix
vendored
Normal file
|
|
@ -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;
|
||||||
|
}
|
||||||
3
third_party/go/git-appraise/git-appraise/deps.nix
vendored
Normal file
3
third_party/go/git-appraise/git-appraise/deps.nix
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
||||||
|
[
|
||||||
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue