2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
2021-12-26 17:43:05 +00:00
|
|
|
, stdenv
|
2021-06-28 23:13:55 +00:00
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule {
|
|
|
|
pname = "goofys";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "unstable-2022-04-21";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kahing";
|
|
|
|
repo = "goofys";
|
|
|
|
# Same as v0.24.0 but migrated to Go modules
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "829d8e5ce20faa3f9f6f054077a14325e00e9249";
|
|
|
|
sha256 = "sha256-6yVMNSwwPZlADXuPBDRlgoz4Stuz2pgv6r6+y2/C8XY=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
vendorSha256 = "sha256-shFld293pdmVcnu3p0NoBmPGLJddZd4O/gJ8klgdlQ8=";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
# Tests are using networking
|
|
|
|
postPatch = ''
|
|
|
|
rm internal/*_test.go
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/kahing/goofys";
|
|
|
|
description = "A high-performance, POSIX-ish Amazon S3 file system written in Go.";
|
|
|
|
license = [ lib.licenses.mit ];
|
|
|
|
maintainers = [ lib.maintainers.adisbladis ];
|
2021-12-26 17:43:05 +00:00
|
|
|
broken = stdenv.isDarwin; # needs to update gopsutil to at least v3.21.3 to include https://github.com/shirou/gopsutil/pull/1042
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|