swiftformat: Remove
Upstream nixpkgs now uses this.
This commit is contained in:
parent
eaac41f587
commit
b66374110f
2 changed files with 0 additions and 32 deletions
|
@ -2,5 +2,4 @@
|
|||
ipsw = pkgs.callPackage ./ipsw.nix { };
|
||||
monaco-powerline = pkgs.callPackage ./monaco-powerline/default.nix { };
|
||||
telnet = pkgs.callPackage ./telnet.nix { };
|
||||
swiftformat = pkgs.callPackage ./swiftformat.nix { };
|
||||
}
|
||||
|
|
|
@ -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 = [ ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue