Merge pull request #111600 from Luflosi/simplify-binwalk
binwalk: simplify visualizationSupport code
This commit is contained in:
commit
2e7a585be3
@ -17,10 +17,10 @@
|
|||||||
, matplotlib
|
, matplotlib
|
||||||
, nose
|
, nose
|
||||||
, pycrypto
|
, pycrypto
|
||||||
, pyqtgraph ? null }:
|
, pyqtgraph
|
||||||
|
, visualizationSupport ? false }:
|
||||||
|
|
||||||
let
|
let
|
||||||
visualizationSupport = (pyqtgraph != null) && (matplotlib != null);
|
|
||||||
version = "2.2.0";
|
version = "2.2.0";
|
||||||
in
|
in
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
|
@ -931,14 +931,10 @@ in {
|
|||||||
|
|
||||||
binho-host-adapter = callPackage ../development/python-modules/binho-host-adapter { };
|
binho-host-adapter = callPackage ../development/python-modules/binho-host-adapter { };
|
||||||
|
|
||||||
binwalk = callPackage ../development/python-modules/binwalk {
|
binwalk = callPackage ../development/python-modules/binwalk { };
|
||||||
pyqtgraph = null;
|
|
||||||
matplotlib = null;
|
|
||||||
};
|
|
||||||
|
|
||||||
binwalk-full = appendToName "full" (self.binwalk.override {
|
binwalk-full = appendToName "full" (self.binwalk.override {
|
||||||
pyqtgraph = self.pyqtgraph;
|
visualizationSupport = true;
|
||||||
matplotlib = self.matplotlib;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
biopython = callPackage ../development/python-modules/biopython { };
|
biopython = callPackage ../development/python-modules/biopython { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user