forked from mirrors/nixpkgs
Revert "dtrx: remove p7zip, since it's unsafe"
This reverts commit 9b3ca0c614
.
p7zip is now switched to a maintained fork
This commit is contained in:
parent
955701709f
commit
1683a5f146
|
@ -1,18 +1,15 @@
|
|||
{stdenv, lib, fetchurl, pythonPackages
|
||||
, gnutar, unzip, lhasa, rpm, binutils, cpio, gzip, cabextract, unrar, unshield
|
||||
, gnutar, unzip, lhasa, rpm, binutils, cpio, gzip, p7zip, cabextract, unrar, unshield
|
||||
, bzip2, xz, lzip
|
||||
# unsafe:
|
||||
# ,p7zip
|
||||
# unzip is no longer handled by p7zip, since it's unsafe
|
||||
, unzipSupport ? true
|
||||
# unzip is handled by p7zip
|
||||
, unzipSupport ? false
|
||||
, unrarSupport ? false }:
|
||||
|
||||
let
|
||||
# p7zip
|
||||
archivers = lib.makeBinPath ([ gnutar lhasa rpm binutils cpio gzip cabextract unshield ]
|
||||
++ lib.optional (unzipSupport) unzip
|
||||
++ lib.optional (unrarSupport) unrar
|
||||
++ [ bzip2 xz lzip ]);
|
||||
archivers = lib.makeBinPath ([ gnutar lhasa rpm binutils cpio gzip p7zip cabextract unshield ]
|
||||
++ lib.optional (unzipSupport) unzip
|
||||
++ lib.optional (unrarSupport) unrar
|
||||
++ [ bzip2 xz lzip ]);
|
||||
|
||||
in pythonPackages.buildPythonApplication rec {
|
||||
pname = "dtrx";
|
||||
|
|
Loading…
Reference in a new issue