gawp: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-08 15:27:41 +01:00
parent 2653975e71
commit 8e9dcca200

View File

@ -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;