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

28 lines
608 B
Nix
Raw Normal View History

2020-05-08 11:52:57 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2017-09-30 01:06:10 +00:00
2020-05-08 11:52:57 +00:00
buildGoModule rec {
pname = "ipfs-migrator";
2021-02-03 15:10:45 +00:00
version = "1.7.1";
2017-09-30 01:06:10 +00:00
src = fetchFromGitHub {
owner = "ipfs";
repo = "fs-repo-migrations";
2020-05-08 11:52:57 +00:00
rev = "v${version}";
2021-02-03 15:10:45 +00:00
sha256 = "sha256-MxEKmoveIpuxBkGGGJHp9T11i3Py8a1fLpF0fWk0ftg=";
2017-09-30 01:06:10 +00:00
};
vendorSha256 = null;
2020-05-08 11:52:57 +00:00
doCheck = false;
2020-05-08 11:52:57 +00:00
subPackages = [ "." ];
2017-09-30 01:06:10 +00:00
2020-05-08 11:52:57 +00:00
meta = with lib; {
description = "Migrations for the filesystem repository of ipfs clients";
homepage = "https://ipfs.io/";
2017-09-30 01:06:10 +00:00
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ elitak ];
};
2020-07-11 15:56:48 +00:00
}