nixpkgs/pkgs/tools/filesystems/sandboxfs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
729 B
Nix
Raw Normal View History

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