git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #126712 from adisbladis/goofys-init

goofys: init at unstable-2021-03-26

commitfce0206462cd8b80eaca59542d0c53713044050f authoradisbladis <adisbladis@gmail.com> dateSat 12 Jun 2021, 21:44 (5 years ago) parent270277c22ae7ed
2 files changed+36
pkgs/tools/filesystems/goofys/default.nix+34 pkgs/top-level/all-packages.nix+2
pkgs/tools/filesystems/goofys/default.nixnew file+34
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -5315,6 +5315,8 @@ in
53155315
53165316 go-mtpfs = callPackage ../tools/filesystems/go-mtpfs { };
53175317
5318+ goofys = callPackage ../tools/filesystems/goofys { };
5319+
53185320 go-sct = callPackage ../tools/X11/go-sct { };
53195321
53205322 # rename to upower-notify?