2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2017-08-25 14:59:49 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "git-lfs";
|
2017-08-25 14:59:49 +02:00
|
|
|
version = "1.5.6";
|
|
|
|
rev = "0d02fb7d9a1c599bbf8c55e146e2845a908e04e0";
|
2020-04-27 12:06:45 +02:00
|
|
|
|
2017-08-25 14:59:49 +02:00
|
|
|
goPackagePath = "github.com/git-lfs/git-lfs";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "git-lfs";
|
|
|
|
repo = "git-lfs";
|
|
|
|
sha256 = "0wddry1lqjccf4522fvhx6grx8h57xsz17lkaf5aybnrgw677w3d";
|
|
|
|
};
|
|
|
|
|
2020-04-27 12:06:45 +02:00
|
|
|
subPackages = [ "." ];
|
2017-08-25 14:59:49 +02:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
pushd go/src/github.com/git-lfs/git-lfs
|
|
|
|
go generate ./commands
|
|
|
|
popd
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-08-25 14:59:49 +02:00
|
|
|
description = "Git extension for versioning large files";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://git-lfs.github.com/";
|
2017-08-25 14:59:49 +02:00
|
|
|
license = [ licenses.mit ];
|
|
|
|
maintainers = [ maintainers.twey ];
|
|
|
|
};
|
|
|
|
}
|