2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, libxslt, docbook_xsl, libcap }:
|
2017-07-27 20:04:56 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "bubblewrap";
|
2021-08-21 13:43:21 +02:00
|
|
|
version = "0.5.0";
|
2017-07-27 20:04:56 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-03-30 15:47:15 +02:00
|
|
|
url = "https://github.com/containers/bubblewrap/releases/download/v${version}/${pname}-${version}.tar.xz";
|
2021-08-21 13:43:21 +02:00
|
|
|
sha256 = "sha256-Fv2vM3mdYxBONH4BM/kJGW/pDQxQUV0BC8tCLrWgCBg=";
|
2017-07-27 20:04:56 +02:00
|
|
|
};
|
|
|
|
|
2020-03-16 19:24:09 +01:00
|
|
|
nativeBuildInputs = [ libxslt docbook_xsl ];
|
|
|
|
buildInputs = [ libcap ];
|
2017-07-27 20:04:56 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-07-27 20:04:56 +02:00
|
|
|
description = "Unprivileged sandboxing tool";
|
2020-03-30 15:47:15 +02:00
|
|
|
homepage = "https://github.com/containers/bubblewrap";
|
2017-07-27 20:04:56 +02:00
|
|
|
license = licenses.lgpl2Plus;
|
2018-10-06 15:52:40 +02:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-07-27 20:04:56 +02:00
|
|
|
};
|
|
|
|
}
|