evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / no / noseyparker / package.nix
blob8e71720b617cb91af2c63f9711a7d0932ebb35cf
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , boost
5 , cmake
6 , git
7 , hyperscan
8 , openssl
9 , pkg-config
12 rustPlatform.buildRustPackage rec {
13   pname = "noseyparker";
14   version = "0.20.0";
16   src = fetchFromGitHub {
17     owner = "praetorian-inc";
18     repo = "noseyparker";
19     rev = "v${version}";
20     hash = "sha256-pFAtyvnqCLTY3l7c47rpN1jHjQon0fTPT3KaV9mcs3Q=";
21   };
23   cargoHash = "sha256-t4tZDww6aySlTBq1BB4OGhi9w6fGY2gi7mPM1SR2mt8=";
25   nativeCheckInputs = [
26     git
27   ];
29   checkFlags = [
30     # These tests expect access to network to clone and use GitHub API
31     "--skip=github::github_repos_list_multiple_user_dedupe_jsonl_format"
32     "--skip=github::github_repos_list_org_badtoken"
33     "--skip=github::github_repos_list_user_badtoken"
34     "--skip=github::github_repos_list_user_human_format"
35     "--skip=github::github_repos_list_user_json_format"
36     "--skip=github::github_repos_list_user_jsonl_format"
37     "--skip=github::github_repos_list_user_repo_filter"
38     "--skip=scan::appmaker::scan_workflow_from_git_url"
39   ];
41   nativeBuildInputs = [
42     cmake
43     pkg-config
44   ];
45   buildInputs = [
46     boost
47     hyperscan
48     openssl
49   ];
51   OPENSSL_NO_VENDOR = 1;
53   meta = with lib; {
54     description = "Find secrets and sensitive information in textual data";
55     mainProgram = "noseyparker";
56     homepage = "https://github.com/praetorian-inc/noseyparker";
57     changelog = "https://github.com/praetorian-inc/noseyparker/blob/v${version}/CHANGELOG.md";
58     license = licenses.asl20;
59     maintainers = with maintainers; [ _0x4A6F ];
60     # limited by hyperscan
61     platforms = [ "x86_64-linux" ];
62   };