2020-05-08 13:52:57 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2017-09-30 03:06:10 +02:00
|
|
|
|
2020-05-08 13:52:57 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ipfs-migrator";
|
2020-05-08 13:52:57 +02:00
|
|
|
version = "1.5.1";
|
2017-09-30 03:06:10 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ipfs";
|
|
|
|
repo = "fs-repo-migrations";
|
2020-05-08 13:52:57 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "18pjxkxfbsbbj4hs4xyzfmmz991h31785ldx41dll6wa9zx4lsnm";
|
2017-09-30 03:06:10 +02:00
|
|
|
};
|
|
|
|
|
2020-05-08 13:52:57 +02:00
|
|
|
modSha256 = "1magqgbb6prnihr8lr6jc2fcgsbqqc9y317mkdnvq9qs6bj0a6qj";
|
|
|
|
|
|
|
|
subPackages = [ "." ];
|
2017-09-30 03:06:10 +02:00
|
|
|
|
2020-05-08 13:52:57 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Migrations for the filesystem repository of ipfs clients";
|
2020-04-02 22:01:48 +02:00
|
|
|
homepage = "https://ipfs.io/";
|
2017-09-30 03:06:10 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ elitak ];
|
|
|
|
};
|
|
|
|
}
|