File tree Expand file tree Collapse file tree 6 files changed +10
-5
lines changed
development/python-modules/semgrep Expand file tree Collapse file tree 6 files changed +10
-5
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 11{ lib
2+ , callPackage
23, fetchFromGitHub
34, semgrep-core
4- , buildPythonApplication
5+ , buildPythonPackage
56, pythonPackages
67
78, pytestCheckHook
1516 common = import ./common.nix { inherit lib ; } ;
1617 semgrepBinPath = lib . makeBinPath [ semgrep-core ] ;
1718in
18- buildPythonApplication rec {
19+ buildPythonPackage rec {
1920 pname = "semgrep" ;
2021 inherit ( common ) version ;
2122 src = fetchFromGitHub {
@@ -130,7 +131,7 @@ buildPythonApplication rec {
130131 '' ;
131132
132133 passthru = {
133- inherit common ;
134+ inherit common semgrep-core ;
134135 submodulesSubset = lib . mapAttrs ( k : args : fetchFromGitHub args ) common . submodules ;
135136 updateScript = ./update.sh ;
136137 } ;
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -11951,8 +11951,8 @@ with pkgs;
1195111951
1195211952 semantic-release = callPackage ../development/tools/semantic-release { };
1195311953
11954- semgrep = python3.pkgs.callPackage ../tools/security/ semgrep { } ;
11955- semgrep-core = callPackage ../tools/security/ semgrep/semgrep -core.nix { } ;
11954+ semgrep = python3.pkgs.toPythonApplication python3.pkgs. semgrep;
11955+ inherit (semgrep.passthru) semgrep-core;
1195611956
1195711957 setroot = callPackage ../tools/X11/setroot { };
1195811958
Original file line number Diff line number Diff line change @@ -14285,6 +14285,10 @@ self: super: with self; {
1428514285
1428614286 semantic-version = callPackage ../development/python-modules/semantic-version { };
1428714287
14288+ semgrep = callPackage ../development/python-modules/semgrep {
14289+ semgrep-core = callPackage ../development/python-modules/semgrep/semgrep-core.nix { };
14290+ };
14291+
1428814292 semaphore-bot = callPackage ../development/python-modules/semaphore-bot { };
1428914293
1429014294 semver = callPackage ../development/python-modules/semver { };
You can’t perform that action at this time.
0 commit comments