From b9342b5751ad9f2c2af0de7bab664d7136132866 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 27 May 2022 18:00:57 +0200 Subject: chore(3p/dfmt): Remove package Not used by anything. Change-Id: I31822e02ee34964c25952f7c0ee928a0de62aff7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5700 Tested-by: BuildkiteCI Reviewed-by: sterni Reviewed-by: grfn --- third_party/dfmt/default.nix | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 third_party/dfmt/default.nix diff --git a/third_party/dfmt/default.nix b/third_party/dfmt/default.nix deleted file mode 100644 index 5ce0d7541c..0000000000 --- a/third_party/dfmt/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -# dfmt is a code formatter for D -{ pkgs, lib, ... }: - -pkgs.stdenv.mkDerivation rec { - pname = "dfmt"; - version = "0.13.4"; - - src = pkgs.fetchFromGitHub { - owner = "dlang-community"; - repo = "dfmt"; - rev = "v${version}"; - sha256 = "02a8qvrmnl1c15y6irxlhqpr0hjj5s8qk0jc20ivj0fl6p4v9shj"; - fetchSubmodules = true; - }; - - nativeBuildInputs = with pkgs; [ - dmd - - # fake git that will be used to fetch the version string - (pkgs.writeShellScriptBin "git" "echo 'v${version}'") - ]; - - DFLAGS = "-release"; - - installPhase = '' - mkdir -p $out/bin - cp bin/dfmt $out/bin/ - strip -s $out/bin/dfmt - ''; - - meta = { - description = "D code formatter"; - homepage = "https://github.com/dlang-community/dfmt"; - license = lib.licenses.boost; - }; -} -- cgit 1.4.1