depot/third_party/nixpkgs/pkgs/tools/admin/bubblewrap/default.nix

22 lines
625 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libxslt, docbook_xsl, libcap }:
stdenv.mkDerivation rec {
pname = "bubblewrap";
version = "0.4.1";
src = fetchurl {
url = "https://github.com/containers/bubblewrap/releases/download/v${version}/${pname}-${version}.tar.xz";
sha256 = "00ycgi6q2yngh06bnz50wkvar6r2jnjf3j158grhi9k13jdrpimr";
};
nativeBuildInputs = [ libxslt docbook_xsl ];
buildInputs = [ libcap ];
meta = with stdenv.lib; {
description = "Unprivileged sandboxing tool";
homepage = "https://github.com/containers/bubblewrap";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ ];
};
}