commit 9c10fe006d60bab66d7b7d3025cbf0787e0a720f
parent 897862daf60f47634444e0da3f0f63eb7ecc8906
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sun, 13 Apr 2025 01:48:31 +0400
Drop pvs-studio
Diffstat:
4 files changed, 1 insertion(+), 46 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -365,7 +365,7 @@ lib.makeScope newScope (
git-tui = callPackage ./misc/git-tui { };
graphene = callPackage ./misc/graphene { };
heapusage = callPackage ./misc/heapusage { };
- how-to-use-pvs-studio-free = callPackage ./misc/pvs-studio/how-to-use-pvs-studio-free.nix { };
+ how-to-use-pvs-studio-free = callPackage ./misc/how-to-use-pvs-studio-free { };
huami-token = callPackage ./misc/huami-token { };
ionscale = callPackage ./misc/ionscale { };
ish = callPackage ./misc/ish { };
@@ -396,7 +396,6 @@ lib.makeScope newScope (
plotjuggler = libsForQt5.callPackage ./misc/plotjuggler { };
pnoise = callPackage ./misc/pnoise { };
ptunnel = callPackage ./misc/ptunnel { };
- pvs-studio = callPackage ./misc/pvs-studio { };
qasync = callPackage ./misc/qasync { };
qoiview = callPackage ./misc/qoiview { };
qstudio = callPackage ./misc/qstudio { };
diff --git a/pkgs/misc/pvs-studio/how-to-use-pvs-studio-free.nix b/pkgs/misc/how-to-use-pvs-studio-free/default.nix
diff --git a/pkgs/misc/pvs-studio/setup-hook.sh b/pkgs/misc/how-to-use-pvs-studio-free/setup-hook.sh
diff --git a/pkgs/misc/pvs-studio/default.nix b/pkgs/misc/pvs-studio/default.nix
@@ -1,44 +0,0 @@
-{
- lib,
- stdenv,
- fetchurl,
-}:
-let
- inherit (stdenv.hostPlatform) system;
- throwSystem = throw "Unsupported system: ${system}";
-
- suffix =
- {
- x86_64-linux = "x86_64";
- x86_64-darwin = "macos-x86_64";
- }
- .${system} or throwSystem;
-in
-stdenv.mkDerivation (finalAttrs: {
- pname = "pvs-studio";
- version = "7.36.91321.455";
-
- src = fetchurl {
- url = "https://cdn.pvs-studio.com/pvs-studio-${finalAttrs.version}-${suffix}.tgz";
- hash =
- {
- x86_64-linux = "sha256-xrAUlott87qCiajVecKw9TvYx+rMDd5GeG1UI3udHqQ=";
- x86_64-darwin = "sha256-iv1okllOV3ht57BH9IHykwAYla/tEpkDhpvQeR4tm1c=";
- }
- .${system} or throwSystem;
- };
-
- installPhase = "sh ./install.sh $out";
-
- meta = {
- description = "Static code analyzer for C, C++";
- homepage = "https://www.viva64.com/en/pvs-studio/";
- license = lib.licenses.unfree;
- maintainers = [ lib.maintainers.sikmir ];
- platforms = [
- "x86_64-linux"
- "x86_64-darwin"
- ];
- skip.ci = true;
- };
-})