Commit Graph

11 Commits

Author SHA1 Message Date
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Klemens Nanni
327cca2ab3 binwalk: Install SquashFS tooling
Otherwise extraction fails for what I consider a common type of data;
note how both packages are required as binwalk uses `sasquatch` as
well as `unsquashfs`.
2020-10-26 03:39:01 +01:00
Florian Klink
4cfcd2f9be binwalk-full: add matplotlib module
This is used for visual entropy graphing (`-E` argument)
2020-08-16 13:21:44 +02:00
Pamplemousse
35c702cc40 pythonPackages.binwalk: add dependencies
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2020-08-07 10:41:44 -07:00
Bart Brouns
133e10fb8e Revert "python.pkgs.binwalk: remove p7zip from propagatedBuildInputs"
This reverts commit 9a2ec56ad4.
p7zip is now switched to a maintained fork
2020-06-11 18:41:39 +02:00
Florian Klink
9a2ec56ad4 python.pkgs.binwalk: remove p7zip from propagatedBuildInputs
p7zip is abandoned and may not receive important security fixes.

It was marked as insecure in aa80b4780d

`binwalk` might loose the possibility to extract some binary formats,
but it's better than running it on untrusted imput.
2020-05-03 01:39:35 +02:00
Florian Klink
b5e99522b1 python3.pkgs.binwalk 2.1.1 -> 2.2.0 2020-01-17 22:57:16 +01:00
c0bw3b
69b393ace5 Treewide: update some problematic homepages
These URLs are reported as problematic by Repology.
It could be a permanent redirection
or the page does not exist anymore
2019-12-08 10:21:29 -08:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Chris Ostrouchov
b14225b37b pythonPackages.binwalk: refactor move to python-modules 2018-10-17 07:46:55 +02:00