git-lfs: 2.8.0 -> 2.10.0

This commit is contained in:
Jonathan Ringer
2020-04-02 16:11:45 +00:00
committed by Alyssa Ross
parent 044dfab5a4
commit 5c171862b6
2 changed files with 7 additions and 16 deletions
@@ -1,28 +1,23 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "git-lfs";
version = "2.8.0";
version = "2.10.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "git-lfs";
repo = "git-lfs";
sha256 = "17x9q4g1acf51bxr9lfmd2ym7w740n4ghdi0ncmma77kwabw9d3x";
sha256 = "1y5ryk0iz5g5sqaw79ml6fr5kvjgzcah481pk5qmnb2ipb1xlng9";
};
goPackagePath = "github.com/git-lfs/git-lfs";
modSha256 = "1rvvgyg4gqbli4pwfnmyz59gf14k7925mdqj6ykp542gwnsjgjp2";
subPackages = [ "." ];
preBuild = ''
cd go/src/${goPackagePath}
go generate ./commands
'';
meta = with stdenv.lib; {
description = "Git extension for versioning large files";
homepage = https://git-lfs.github.com/;
homepage = "https://git-lfs.github.com/";
license = [ licenses.mit ];
maintainers = [ maintainers.twey ];
};