summary refs log tree commit diff
path: root/pkgs/development/tools/go-repo-root/default.nix
blob: 25fc87f8985dc39c1e30c73445de32ae4f6a2b33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ lib, stdenv, buildGoPackage, fetchgit }:

buildGoPackage rec {
  pname = "go-repo-root";
  version = "20140911-${lib.strings.substring 0 7 rev}";
  rev = "90041e5c7dc634651549f96814a452f4e0e680f9";

  goPackagePath = "github.com/cstrahan/go-repo-root";

  src = fetchgit {
    inherit rev;
    url = "https://github.com/cstrahan/go-repo-root";
    sha256 = "1rlzp8kjv0a3dnfhyqcggny0ad648j5csr2x0siq5prahlp48mg4";
  };

  goDeps = ./deps.nix;
}