Skip to content

Commit

Permalink
Flake update
Browse files Browse the repository at this point in the history
- Flake update
- Fix issues with duplicate dependencies to sbomnix

Signed-off-by: Henri Rosten <henri.rosten@unikie.com>
  • Loading branch information
henrirosten committed Sep 7, 2023
1 parent 7cd2584 commit 9ded9da
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 14 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions scripts/nixupdate/nixupdate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,25 @@ pythonPackages.buildPythonPackage rec {
format = "setuptools";

src = ../../.;
sbomnix = import ../../default.nix { pkgs=pkgs; };
repology_cli = import ../repology/repology_cli.nix { pkgs=pkgs; };
nix_visualize = import ./nix-visualize.nix { pkgs=pkgs; };
makeWrapperArgs = [
"--prefix PATH : ${pkgs.lib.makeBinPath [ sbomnix repology_cli nix_visualize ]}"
"--prefix PATH : ${pkgs.lib.makeBinPath [ repology_cli nix_visualize ]}"
];

requests-ratelimiter = import ../repology/requests-ratelimiter.nix { pkgs=pkgs; };

propagatedBuildInputs = [
pkgs.reuse
requests-ratelimiter
sbomnix
pythonPackages.beautifulsoup4
pythonPackages.colorlog
pythonPackages.graphviz
pythonPackages.numpy
pythonPackages.packageurl-python
pythonPackages.packaging
pythonPackages.pandas
pythonPackages.tabulate
pythonPackages.requests
pythonPackages.requests-cache
];
Expand Down
16 changes: 9 additions & 7 deletions scripts/repology/repology_cli.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,22 @@ pythonPackages.buildPythonPackage rec {
format = "setuptools";

src = ../../.;
sbomnix = import ../../default.nix { pkgs=pkgs; };
makeWrapperArgs = [
"--prefix PATH : ${pkgs.lib.makeBinPath [ sbomnix ]}"
];


requests-ratelimiter = import ./requests-ratelimiter.nix { pkgs=pkgs; };

propagatedBuildInputs = [
sbomnix
pkgs.reuse
requests-ratelimiter
pythonPackages.beautifulsoup4
pythonPackages.colorlog
pythonPackages.graphviz
pythonPackages.numpy
pythonPackages.packageurl-python
pythonPackages.packaging
pythonPackages.pandas
pythonPackages.tabulate
pythonPackages.requests
pythonPackages.requests-cache
pythonPackages.packaging
];

postInstall = ''
Expand Down
10 changes: 9 additions & 1 deletion scripts/vulnxscan/vulnxscan.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,16 @@ pythonPackages.buildPythonPackage rec {
requests-ratelimiter = import ../repology/requests-ratelimiter.nix { pkgs=pkgs; };

propagatedBuildInputs = [
pkgs.reuse
requests-ratelimiter
sbomnix
pythonPackages.beautifulsoup4
pythonPackages.colorlog
pythonPackages.graphviz
pythonPackages.numpy
pythonPackages.packageurl-python
pythonPackages.packaging
pythonPackages.pandas
pythonPackages.tabulate
pythonPackages.requests
pythonPackages.requests-cache
];
Expand Down

0 comments on commit 9ded9da

Please sign in to comment.