-
-
Notifications
You must be signed in to change notification settings - Fork 13k
/
default.nix
35 lines (28 loc) · 797 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ 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 = "Virtual file system for sandboxing";
homepage = "https://github.com/bazelbuild/sandboxfs";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ jeremyschlatter ];
mainProgram = "sandboxfs";
};
}