depot/third_party/nixpkgs/pkgs/tools/filesystems/sandboxfs/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

35 lines
799 B
Nix

{ stdenv
, lib
, rustPlatform
, fetchCrate
, pkg-config
, installShellFiles
, fuse
}:
rustPlatform.buildRustPackage rec {
pname = "sandboxfs";
version = "0.2.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-nrrkFYAf7HqaGFruolNTkXzy4ID6/vipxd+fOCKYARM=";
};
cargoSha256 = "sha256-izz10ePmEt2xxOyR4NODIMAcY9d4ODo677mq+DVf4RI=";
nativeBuildInputs = [ pkg-config installShellFiles ];
buildInputs = [ fuse ];
postInstall = "installManPage man/sandboxfs.1";
meta = with lib; {
broken = stdenv.isDarwin;
description = "A virtual file system for sandboxing";
homepage = "https://github.com/bazelbuild/sandboxfs";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ jeremyschlatter ];
mainProgram = "sandboxfs";
};
}