git-lfs1: use subPackages
This commit is contained in:
parent
cef17fb6ee
commit
16b418177c
@ -4,7 +4,7 @@ buildGoPackage rec {
|
|||||||
pname = "git-lfs";
|
pname = "git-lfs";
|
||||||
version = "1.5.6";
|
version = "1.5.6";
|
||||||
rev = "0d02fb7d9a1c599bbf8c55e146e2845a908e04e0";
|
rev = "0d02fb7d9a1c599bbf8c55e146e2845a908e04e0";
|
||||||
|
|
||||||
goPackagePath = "github.com/git-lfs/git-lfs";
|
goPackagePath = "github.com/git-lfs/git-lfs";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -14,8 +14,7 @@ buildGoPackage rec {
|
|||||||
sha256 = "0wddry1lqjccf4522fvhx6grx8h57xsz17lkaf5aybnrgw677w3d";
|
sha256 = "0wddry1lqjccf4522fvhx6grx8h57xsz17lkaf5aybnrgw677w3d";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Tests fail with 'lfstest-gitserver.go:46: main redeclared in this block'
|
subPackages = [ "." ];
|
||||||
excludedPackages = [ "test" ];
|
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
pushd go/src/github.com/git-lfs/git-lfs
|
pushd go/src/github.com/git-lfs/git-lfs
|
||||||
@ -23,9 +22,6 @@ buildGoPackage rec {
|
|||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
rm -v $bin/bin/{man,script}
|
|
||||||
'';
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Git extension for versioning large files";
|
description = "Git extension for versioning large files";
|
||||||
homepage = "https://git-lfs.github.com/";
|
homepage = "https://git-lfs.github.com/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user