mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
commit
818b2069c1
36
pkgs/tools/filesystems/juicefs/default.nix
Normal file
36
pkgs/tools/filesystems/juicefs/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "juicefs";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "juicedata";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-urhm2dnWIbzt1mSFDsmqJe61E6D6FWRUG6CJPy/ExOI=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-LvF/6YA/OVO2cyBM1c3YYhEjT26SVXcsepn+vglRKmE=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
doCheck = false; # requires network access
|
||||
|
||||
# we dont need the libjfs binary
|
||||
postFixup = ''
|
||||
rm $out/bin/libjfs
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A distributed POSIX file system built on top of Redis and S3";
|
||||
homepage = "https://www.juicefs.com/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ dit7ya ];
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
@ -7870,6 +7870,8 @@ with pkgs;
|
||||
|
||||
jmespath = callPackage ../development/tools/jmespath { };
|
||||
|
||||
juicefs = callPackage ../tools/filesystems/juicefs { };
|
||||
|
||||
jmtpfs = callPackage ../tools/filesystems/jmtpfs { };
|
||||
|
||||
jnettop = callPackage ../tools/networking/jnettop { };
|
||||
|
Loading…
Reference in New Issue
Block a user