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

26 lines
636 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
};
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";
homepage = "https://ipfs.io/";
2017-09-30 03:06:10 +02:00
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ elitak ];
};
}