uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/tools/filesystems/goofys/default.nix
Normal file
36
pkgs/tools/filesystems/goofys/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
pname = "goofys";
|
||||
version = "unstable-2022-04-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kahing";
|
||||
repo = "goofys";
|
||||
# Same as v0.24.0 but migrated to Go modules
|
||||
rev = "829d8e5ce20faa3f9f6f054077a14325e00e9249";
|
||||
sha256 = "sha256-6yVMNSwwPZlADXuPBDRlgoz4Stuz2pgv6r6+y2/C8XY=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-2N8MshBo9+2q8K00eTW5So6d8ZNRzOfQkEKmxR428gI=";
|
||||
|
||||
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 ];
|
||||
broken = stdenv.isDarwin; # needs to update gopsutil to at least v3.21.3 to include https://github.com/shirou/gopsutil/pull/1042
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue