@@ -0,0 +1,34 @@
1+{ lib
2+, buildGoModule
3+, fetchFromGitHub
4+}:
5+
6+buildGoModule {
7+ pname = "goofys";
8+ version = "unstable-2021-03-26";
9+
10+ src = fetchFromGitHub {
11+ owner = "kahing";
12+ repo = "goofys";
13+ # Same as v0.24.0 but migrated to Go modules
14+ rev = "0c993271269b539196330a18716a33fbeeebd624";
15+ sha256 = "18is5sv2a9wmsm0qpakly988z1qyl2b2hf2105lpxrgl659sf14p";
16+ };
17+
18+ vendorSha256 = "15yq0msh9icxd5n2zkkqrlwxifizhpa99d4aznv8clg32ybs61fj";
19+
20+ subPackages = [ "." ];
21+
22+ # Tests are using networking
23+ postPatch = ''
24+ rm internal/*_test.go
25+ '';
26+
27+ meta = {
28+ homepage = "https://github.com/kahing/goofys";
29+ description = "A high-performance, POSIX-ish Amazon S3 file system written in Go.";
30+ license = [ lib.licenses.mit ];
31+ maintainers = [ lib.maintainers.adisbladis ];
32+ };
33+
34+}