nixpkgs/pkgs/tools/security/semgrep/semgrep-core.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
478 B
Nix
Raw Normal View History

2022-07-13 07:33:54 +00:00
{ lib, stdenvNoCC, callPackage }:
let
common = callPackage ./common.nix { };
in
stdenvNoCC.mkDerivation rec {
pname = "semgrep-core";
inherit (common) version;
src = common.coreRelease;
installPhase = ''
runHook preInstall
install -Dm 755 -t $out/bin semgrep-core
runHook postInstall
'';
meta = common.meta // {
description = common.meta.description + " - core binary";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
}