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

28 lines
608 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";
2021-02-03 16:10:45 +01:00
version = "1.7.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}";
2021-02-03 16:10:45 +01:00
sha256 = "sha256-MxEKmoveIpuxBkGGGJHp9T11i3Py8a1fLpF0fWk0ftg=";
2017-09-30 03:06:10 +02:00
};
vendorSha256 = null;
2020-05-08 13:52:57 +02:00
doCheck = false;
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 ];
};
2020-07-11 17:56:48 +02:00
}