1{ stdenv, fetchurl, libxslt, docbook_xsl, libcap }:
2
3stdenv.mkDerivation rec {
4 name = "bubblewrap-${version}";
5 version = "0.1.8";
6
7 src = fetchurl {
8 url = "https://github.com/projectatomic/bubblewrap/releases/download/v${version}/${name}.tar.xz";
9 sha256 = "1gyy7paqwdrfgxamxya991588ryj9q9c3rhdh31qldqyh9qpy72c";
10 };
11
12 nativeBuildInputs = [ libcap libxslt docbook_xsl ];
13
14 meta = with stdenv.lib; {
15 description = "Unprivileged sandboxing tool";
16 homepage = https://github.com/projectatomic/bubblewrap;
17 license = licenses.lgpl2Plus;
18 maintainers = with maintainers; [ konimex ];
19 };
20}