diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-05-27 15:26:50 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-05-27 15:26:50 +0200 |
commit | 1b7204ab3cff3c0aeb0f0e1689b1ef2f7960bb2e (patch) | |
tree | 4e5f80d94d7c5cd1a9b9ad5d026b26cadc148aa5 /pkgs/tools/compression | |
parent | c778596f56c687318543e5b13af2864fdf79408d (diff) | |
parent | 1b5925f2189dc9b4ebf7168252bf89a94b7405ba (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/compression')
-rw-r--r-- | pkgs/tools/compression/dtrx/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/tools/compression/dtrx/default.nix b/pkgs/tools/compression/dtrx/default.nix index 81a446066d97..edca969a1e84 100644 --- a/pkgs/tools/compression/dtrx/default.nix +++ b/pkgs/tools/compression/dtrx/default.nix @@ -1,15 +1,18 @@ {stdenv, lib, fetchurl, pythonPackages -, gnutar, unzip, lhasa, rpm, binutils, cpio, gzip, p7zip, cabextract, unrar, unshield +, gnutar, unzip, lhasa, rpm, binutils, cpio, gzip, cabextract, unrar, unshield , bzip2, xz, lzip -# unzip is handled by p7zip -, unzipSupport ? false +# unsafe: +# ,p7zip +# unzip is no longer handled by p7zip, since it's unsafe +, unzipSupport ? true , unrarSupport ? false }: let - archivers = lib.makeBinPath ([ gnutar lhasa rpm binutils cpio gzip p7zip cabextract unshield ] - ++ lib.optional (unzipSupport) unzip - ++ lib.optional (unrarSupport) unrar - ++ [ bzip2 xz lzip ]); + # p7zip + archivers = lib.makeBinPath ([ gnutar lhasa rpm binutils cpio gzip cabextract unshield ] + ++ lib.optional (unzipSupport) unzip + ++ lib.optional (unrarSupport) unrar + ++ [ bzip2 xz lzip ]); in pythonPackages.buildPythonApplication rec { pname = "dtrx"; |