Commit d631d045 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

python311Packages.semgrep: init at 1.74.0

parent 9f1f987c
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
{ lib
, callPackage
, fetchFromGitHub
, semgrep-core
, buildPythonApplication
, buildPythonPackage
, pythonPackages

, pytestCheckHook
@@ -15,7 +16,7 @@ let
  common = import ./common.nix { inherit lib; };
  semgrepBinPath = lib.makeBinPath [ semgrep-core ];
in
buildPythonApplication rec {
buildPythonPackage rec {
  pname = "semgrep";
  inherit (common) version;
  src = fetchFromGitHub {
@@ -130,7 +131,7 @@ buildPythonApplication rec {
  '';

  passthru = {
    inherit common;
    inherit common semgrep-core;
    submodulesSubset = lib.mapAttrs (k: args: fetchFromGitHub args) common.submodules;
    updateScript = ./update.sh;
  };
+2 −2
Original line number Diff line number Diff line
@@ -11951,8 +11951,8 @@ with pkgs;
  semantic-release = callPackage ../development/tools/semantic-release { };
  semgrep = python3.pkgs.callPackage ../tools/security/semgrep { };
  semgrep-core = callPackage ../tools/security/semgrep/semgrep-core.nix { };
  semgrep = python3.pkgs.toPythonApplication python3.pkgs.semgrep;
  inherit (semgrep.passthru) semgrep-core;
  setroot = callPackage  ../tools/X11/setroot { };
Loading