mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #88974 from magnetophon/dtrx
dtrx: remove p7zip, since it's unsafe
This commit is contained in:
commit
7a056d4cb1
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user