firejail: 0.9.64 -> 0.9.64.2
This commit is contained in:
parent
3666a66ee0
commit
2451c4d1d6
|
@ -1,25 +1,18 @@
|
|||
{lib, stdenv, fetchurl, fetchpatch, which, xdg-dbus-proxy, nixosTests}:
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="firejail";
|
||||
version="0.9.64";
|
||||
name="${baseName}-${version}";
|
||||
url="mirror://sourceforge/firejail/firejail/firejail-${version}.tar.xz";
|
||||
sha256="1zgjwy2k57nx0r63fzr15gijah098ig0bll66jd615vc9q3snfz5";
|
||||
};
|
||||
buildInputs = [
|
||||
which
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit (s) name version;
|
||||
inherit buildInputs;
|
||||
src = fetchurl {
|
||||
inherit (s) url sha256;
|
||||
name = "${s.name}.tar.bz2";
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, which, xdg-dbus-proxy, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "firejail";
|
||||
version = "0.9.64.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "netblue30";
|
||||
repo = "firejail";
|
||||
rev = version;
|
||||
sha256 = "1adizsb7pxr101bvvd359hxympnv36rnikp78npdr5dcvwddv3dv";
|
||||
};
|
||||
|
||||
buildInputs = [ which ];
|
||||
|
||||
patches = [
|
||||
# Adds the /nix directory when using an overlay.
|
||||
# Required to run any programs under this mode.
|
||||
|
@ -79,12 +72,10 @@ stdenv.mkDerivation {
|
|||
passthru.tests = nixosTests.firejail;
|
||||
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = "Namespace-based sandboxing tool for Linux";
|
||||
license = lib.licenses.gpl2Plus ;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.raskin ];
|
||||
platforms = lib.platforms.linux;
|
||||
homepage = "https://firejail.wordpress.com/";
|
||||
downloadPage = "https://sourceforge.net/projects/firejail/files/firejail/";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
url https://sourceforge.net/projects/firejail/files/firejail/
|
||||
version_link '[-][0-9.]+[.]tar[.][a-z0-9]+/download$'
|
||||
SF_redirect
|
Loading…
Reference in a new issue