summaryrefslogtreecommitdiff
path: root/pkgs/sarif-fmt/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/sarif-fmt/package.nix')
-rw-r--r--pkgs/sarif-fmt/package.nix56
1 files changed, 0 insertions, 56 deletions
diff --git a/pkgs/sarif-fmt/package.nix b/pkgs/sarif-fmt/package.nix
deleted file mode 100644
index 451af0c..0000000
--- a/pkgs/sarif-fmt/package.nix
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- lib,
- stdenv,
- fetchFromGitHub,
- rustPlatform,
- clippy,
- sarif-fmt,
- testers,
-}:
-rustPlatform.buildRustPackage rec {
- pname = "sarif-fmt";
- version = "0.4.2";
-
- src = fetchFromGitHub {
- owner = "psastras";
- repo = "sarif-rs";
- rev = "${pname}-v${version}";
- hash = "sha256-EzWzDeIeSJ11CVcVyAhMjYQJcKHnieRrFkULc5eXAno=";
- };
-
- cargoSha256 = "sha256-dHOxVLXtnqSHMX5r1wFxqogDf9QdnOZOjTyYFahru34=";
- cargoBuildFlags = ["--package" pname];
- cargoTestFlags = cargoBuildFlags;
-
- nativeCheckInputs = lib.optionals stdenv.isLinux [
- # test_clippy
- clippy
- ];
-
- checkFlags =
- [
- # this test uses nix so...no go
- "--skip=test_clang_tidy"
- # ditto
- "--skip=test_hadolint"
- # ditto
- "--skip=test_shellcheck"
- ]
- ++ lib.optionals stdenv.isDarwin [
- "--skip=test_clippy"
- ];
-
- passthru = {
- tests.version = testers.testVersion {
- package = sarif-fmt;
- };
- };
-
- meta = with lib; {
- mainProgram = "sarif-fmt";
- description = "A CLI tool to pretty print SARIF diagnostics";
- homepage = "https://psastras.github.io/sarif-rs";
- maintainers = with maintainers; [getchoo];
- license = licenses.mit;
- };
-}