mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +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
19 lines
470 B
Nix
19 lines
470 B
Nix
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
|
|
|
buildGoPackage rec {
|
|
name = "gox-${version}";
|
|
version = "20140904-${stdenv.lib.strings.substring 0 7 rev}";
|
|
rev = "e8e6fd4fe12510cc46893dff18c5188a6a6dc549";
|
|
|
|
|
|
goPackagePath = "github.com/mitchellh/gox";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/mitchellh/gox";
|
|
sha256 = "14jb2vgfr6dv7zlw8i3ilmp125m5l28ljv41a66c9b8gijhm48k1";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
}
|