firejail: 0.9.64 -> 0.9.64.2

This commit is contained in:
0x4A6F 2021-01-28 19:00:49 +00:00
parent 3666a66ee0
commit 2451c4d1d6
No known key found for this signature in database
GPG key ID: 8DEDBA5BE07080E1
2 changed files with 15 additions and 27 deletions

View file

@ -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/";
};
}

View file

@ -1,3 +0,0 @@
url https://sourceforge.net/projects/firejail/files/firejail/
version_link '[-][0-9.]+[.]tar[.][a-z0-9]+/download$'
SF_redirect