You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
657 B

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "git-lfs";
version = "2.8.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "git-lfs";
repo = "git-lfs";
sha256 = "17x9q4g1acf51bxr9lfmd2ym7w740n4ghdi0ncmma77kwabw9d3x";
};
goPackagePath = "github.com/git-lfs/git-lfs";
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/;
license = [ licenses.mit ];
maintainers = [ maintainers.twey ];
};
}