nixpkgs/pkgs/applications/networking/ipfs-migrator/default.nix
2020-11-04 23:39:37 +08:00

28 lines
609 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ipfs-migrator";
version = "1.6.4";
src = fetchFromGitHub {
owner = "ipfs";
repo = "fs-repo-migrations";
rev = "v${version}";
sha256 = "004qqcwcw55q13r3sr273dfa5zgxc275pcgqwihzbikl3i168d9f";
};
vendorSha256 = null;
doCheck = false;
subPackages = [ "." ];
meta = with lib; {
description = "Migrations for the filesystem repository of ipfs clients";
homepage = "https://ipfs.io/";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ elitak ];
};
}