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

22 lines
623 B
Nix
Raw Normal View History

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