depot/third_party/nixpkgs/pkgs/development/tools/analysis/snyk/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

26 lines
668 B
Nix

{ buildNpmPackage, fetchFromGitHub, nodePackages, python3, lib }:
buildNpmPackage rec {
pname = "snyk";
version = "1.1207.0";
src = fetchFromGitHub {
owner = "snyk";
repo = "cli";
rev = "v${version}";
hash = "sha256-wEXE+dcAfBK7fuoB23RdPSbJCaovB5sXrFO0QGyf+aw=";
};
npmDepsHash = "sha256-j3lMQh8++pb/00d9H2v7QBkpxIJdsuRQoFkNiQbvnF4=";
nativeBuildInputs = [ nodePackages.node-gyp python3 ];
npmBuildScript = "build:prod";
meta = with lib; {
description = "Scans and monitors projects for security vulnerabilities";
homepage = "https://snyk.io";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}