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