anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / networking / kubo-migrator / unwrapped.nix
blob1e63c5852ca30bdba742582437a7be9ec0ab3089
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "kubo-migrator";
8   version = "2.0.2";
10   src = fetchFromGitHub {
11     owner = "ipfs";
12     repo = "fs-repo-migrations";
13     # Use the latest git tag here, since v2.0.2 does not
14     # contain the latest migration fs-repo-14-to-15/v1.0.1
15     # The fs-repo-migrations code itself is the same between
16     # the two versions but the migration code, which is built
17     # into separate binaries, is not.
18     rev = "fs-repo-14-to-15/v1.0.1";
19     hash = "sha256-oIGDZr0cv+TIl5glHr3U+eIqAlPAOWyFzgfQGGM+xNM=";
20   };
22   sourceRoot = "${src.name}/fs-repo-migrations";
24   vendorHash = "sha256-/DqkBBtR/nU8gk3TFqNKY5zQU6BFMc3N8Ti+38mi/jk=";
26   doCheck = false;
28   meta = with lib; {
29     description = "Migrations for the filesystem repository of Kubo clients";
30     homepage = "https://github.com/ipfs/fs-repo-migrations";
31     license = licenses.mit;
32     maintainers = with maintainers; [ Luflosi elitak ];
33     mainProgram = "fs-repo-migrations";
34   };