nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 36 lines 928 B view raw
1{ lib 2, stdenv 3, buildGoModule 4, fetchFromGitHub 5}: 6 7buildGoModule { 8 pname = "goofys"; 9 version = "unstable-2022-04-21"; 10 11 src = fetchFromGitHub { 12 owner = "kahing"; 13 repo = "goofys"; 14 # Same as v0.24.0 but migrated to Go modules 15 rev = "829d8e5ce20faa3f9f6f054077a14325e00e9249"; 16 sha256 = "sha256-6yVMNSwwPZlADXuPBDRlgoz4Stuz2pgv6r6+y2/C8XY="; 17 }; 18 19 vendorSha256 = "sha256-2N8MshBo9+2q8K00eTW5So6d8ZNRzOfQkEKmxR428gI="; 20 21 subPackages = [ "." ]; 22 23 # Tests are using networking 24 postPatch = '' 25 rm internal/*_test.go 26 ''; 27 28 meta = { 29 homepage = "https://github.com/kahing/goofys"; 30 description = "A high-performance, POSIX-ish Amazon S3 file system written in Go."; 31 license = [ lib.licenses.mit ]; 32 maintainers = [ lib.maintainers.adisbladis ]; 33 broken = stdenv.isDarwin; # needs to update gopsutil to at least v3.21.3 to include https://github.com/shirou/gopsutil/pull/1042 34 }; 35 36}