mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
gawp: switch to fetchFromGitHub
This commit is contained in:
parent
2653975e71
commit
8e9dcca200
@ -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…
Reference in New Issue
Block a user