93df2b837e
GitOrigin-RevId: 18d4025a8ee2f656d897505ccd0ba61a5b89bbea
32 lines
729 B
Nix
32 lines
729 B
Nix
{ 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; {
|
|
description = "A virtual file system for sandboxing";
|
|
homepage = "https://github.com/bazelbuild/sandboxfs";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ jeremyschlatter ];
|
|
};
|
|
}
|