gawp: switch to fetchFromGitHub

main
Felix Buehler 2 years ago
parent 2653975e71
commit 8e9dcca200
  1. 16
      pkgs/tools/misc/gawp/default.nix

@ -1,18 +1,16 @@
{ lib, buildGoPackage, fetchgit }:
with builtins;
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "gawp";
version = "20160121-${lib.strings.substring 0 7 rev}";
rev = "5db2d8faa220e8d6eaf8677354bd197bf621ff7f";
version = "unstable-2016-01-21";
goPackagePath = "github.com/martingallagher/gawp";
src = fetchgit {
inherit rev;
url = "https://github.com/martingallagher/gawp";
sha256 = "0bbmbb1xxdgvqvg1ssn9d4j213li7bbbx3y42iz4fs10xv7x4r0c";
src = fetchFromGitHub {
owner = "martingallagher";
repo = "gawp";
rev = "5db2d8faa220e8d6eaf8677354bd197bf621ff7f";
sha256 = "sha256-DGTSz+4gaEd+FMSPvtY6kY4gJGnJah3exvu13sNadS0=";
};
goDeps = ./deps.nix;

Loading…
Cancel
Save