nixpkgs-suyu/pkgs/applications/networking/ipfs-migrator/default.nix

25 lines
588 B
Nix
Raw Normal View History

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 {
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
};
vendorSha256 = null;
2020-05-08 13:52:57 +02:00
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";
homepage = "https://ipfs.io/";
2017-09-30 03:06:10 +02:00
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ elitak ];
};
}