nixpkgs/pkgs/tools/admin/bubblewrap/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

21 lines
608 B
Nix

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