mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
914e0e594c
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
18 lines
503 B
Nix
18 lines
503 B
Nix
{ stdenv, lib, buildGoPackage, gotools, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
|
|
|
buildGoPackage rec {
|
|
name = "go-repo-root-${version}";
|
|
version = "20140911-${stdenv.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;
|
|
}
|