swiftformat: Remove

Upstream nixpkgs now uses this.
This commit is contained in:
Spotlight 2025-06-17 18:07:06 -05:00
parent eaac41f587
commit b66374110f
Signed by: spotlight
GPG key ID: 874AA355B3209BDC
2 changed files with 0 additions and 32 deletions

View file

@ -2,5 +2,4 @@
ipsw = pkgs.callPackage ./ipsw.nix { }; ipsw = pkgs.callPackage ./ipsw.nix { };
monaco-powerline = pkgs.callPackage ./monaco-powerline/default.nix { }; monaco-powerline = pkgs.callPackage ./monaco-powerline/default.nix { };
telnet = pkgs.callPackage ./telnet.nix { }; telnet = pkgs.callPackage ./telnet.nix { };
swiftformat = pkgs.callPackage ./swiftformat.nix { };
} }

View file

@ -1,31 +0,0 @@
{ clangStdenv, lib, fetchFromGitHub, swift, swiftpm, swiftPackages }:
swiftPackages.stdenv.mkDerivation rec {
pname = "swiftformat";
version = "0.56.4";
src = fetchFromGitHub {
owner = "nicklockwood";
repo = "SwiftFormat";
rev = version;
sha256 = "sha256-WnBQTpbz9tcnbvmtWpZ9esirWdQKJOpVmH8zk97OuFE=";
};
nativeBuildInputs = [ swift swiftpm ];
buildInputs = [ swiftPackages.Dispatch swiftPackages.Foundation ];
installPhase = ''
binPath="$(swiftpmBinPath)"
mkdir -p $out/bin
cp $binPath/swiftformat $out/bin/
'';
meta = with lib; {
description = "A code formatting and linting tool for Swift";
homepage = "https://github.com/nicklockwood/SwiftFormat";
license = licenses.mit;
maintainers = [ maintainers.bdesham ];
platforms = with lib.platforms; linux ++ darwin;
hydraPlatforms = [ ];
};
}