2017-09-30 02:06:10 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildGoPackage {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ipfs-migrator";
|
2018-09-16 16:55:29 +01:00
|
|
|
version = "7";
|
2017-09-30 02:06:10 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/ipfs/fs-repo-migrations";
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ipfs";
|
|
|
|
repo = "fs-repo-migrations";
|
2018-09-16 16:55:29 +01:00
|
|
|
rev = "4e8e0b41d7348646c719d572c678c3d0677e541a";
|
|
|
|
sha256 = "1i6izncgc3wgabppglnnrslffvwrv3cazbdhsk4vjfsd66hb4d37";
|
2017-09-30 02:06:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./lru-repo-path-fix.patch ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Migration tool for ipfs repositories";
|
2020-04-02 21:01:48 +01:00
|
|
|
homepage = "https://ipfs.io/";
|
2017-09-30 02:06:10 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ elitak ];
|
|
|
|
};
|
|
|
|
}
|