quicktemplate: Use fetchFromGitHub, not fetchgit

This commit is contained in:
Okina Matara 2018-08-03 10:40:38 -05:00
parent da53c1248b
commit 405e4fbea9

View file

@ -1,20 +1,19 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 { stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec { buildGoPackage rec {
name = "quicktemplate-unstable-${version}"; name = "quicktemplate-unstable-${version}";
version = "2018-04-30"; version = "2018-04-30";
rev = "a91e0946457b6583004fbfc159339b8171423aed";
goPackagePath = "github.com/valyala/quicktemplate"; goPackagePath = "github.com/valyala/quicktemplate";
goDeps = ./deps.nix;
src = fetchgit { src = fetchFromGitHub {
inherit rev; owner = "valyala";
url = "https://github.com/valyala/quicktemplate"; repo = "quicktemplate";
rev = "a91e0946457b6583004fbfc159339b8171423aed";
sha256 = "1z89ang5pkq5qs5b2nwhzyrw0zjlsas539l9kix374fhka49n8yc"; sha256 = "1z89ang5pkq5qs5b2nwhzyrw0zjlsas539l9kix374fhka49n8yc";
}; };
goDeps = ./deps.nix; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/valyala/quicktemplate"; homepage = "https://github.com/valyala/quicktemplate";