mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +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
20 lines
471 B
Nix
20 lines
471 B
Nix
{ stdenv, lib, buildGoPackage, fetchgit }:
|
|
|
|
with builtins;
|
|
|
|
buildGoPackage rec {
|
|
name = "gawp-${version}";
|
|
version = "20160121-${stdenv.lib.strings.substring 0 7 rev}";
|
|
rev = "5db2d8faa220e8d6eaf8677354bd197bf621ff7f";
|
|
|
|
goPackagePath = "github.com/martingallagher/gawp";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/martingallagher/gawp";
|
|
sha256 = "0bbmbb1xxdgvqvg1ssn9d4j213li7bbbx3y42iz4fs10xv7x4r0c";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
}
|