diff options
Diffstat (limited to 'pkgs/applications/networking/ipfs-migrator/default.nix')
-rw-r--r-- | pkgs/applications/networking/ipfs-migrator/default.nix | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/pkgs/applications/networking/ipfs-migrator/default.nix b/pkgs/applications/networking/ipfs-migrator/default.nix index 578ac9b04797..7a9d8f639707 100644 --- a/pkgs/applications/networking/ipfs-migrator/default.nix +++ b/pkgs/applications/networking/ipfs-migrator/default.nix @@ -1,27 +1,25 @@ -{ stdenv, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub }: -buildGoPackage { +buildGoModule rec { pname = "ipfs-migrator"; - version = "7"; - - goPackagePath = "github.com/ipfs/fs-repo-migrations"; - - goDeps = ./deps.nix; + version = "1.5.1"; src = fetchFromGitHub { owner = "ipfs"; repo = "fs-repo-migrations"; - rev = "4e8e0b41d7348646c719d572c678c3d0677e541a"; - sha256 = "1i6izncgc3wgabppglnnrslffvwrv3cazbdhsk4vjfsd66hb4d37"; + rev = "v${version}"; + sha256 = "18pjxkxfbsbbj4hs4xyzfmmz991h31785ldx41dll6wa9zx4lsnm"; }; - patches = [ ./lru-repo-path-fix.patch ]; + vendorSha256 = null; + + subPackages = [ "." ]; - meta = with stdenv.lib; { - description = "Migration tool for ipfs repositories"; + 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 ]; }; -} +} \ No newline at end of file |