Merge pull request #337002 from azahi/maligned-deprecate

This commit is contained in:
Franz Pletz 2024-08-25 01:41:45 +02:00 committed by GitHub
commit 0ae4ad7c16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 34 deletions

View File

@ -1,32 +0,0 @@
{ lib
, buildGoModule
, fetchFromGitHub
, go
}:
buildGoModule rec {
pname = "maligned";
version = "unstable-2022-02-04";
rev = "d7cd9a96ae47d02b08234503b54709ad4ae82105";
src = fetchFromGitHub {
owner = "mdempsky";
repo = "maligned";
inherit rev;
sha256 = "sha256-exljmDNtVhjJkvh0EomcbBXSsmQx4I59MHDfMWSQyKk=";
};
vendorHash = "sha256-q/0lxZWk3a7brMsbLvZUSZ8XUHfWfx79qxjir1Vygx4=";
allowGoReference = true;
nativeCheckInputs = [ go ];
meta = with lib; {
description = "Tool to detect Go structs that would take less memory if their fields were sorted";
mainProgram = "maligned";
homepage = "https://github.com/mdempsky/maligned";
license = licenses.bsd3;
maintainers = with maintainers; [ kalbasit ];
};
}

View File

@ -933,6 +933,7 @@ mapAliases ({
mariadb-client = hiPrio mariadb.client; #added 2019.07.28
markdown-pp = throw "markdown-pp was removed from nixpkgs, because the upstream archived it on 2021-09-02"; # Added 2023-07-22
markmind = throw "markmind has been removed from nixpkgs, because it depended on an old version of electron"; # Added 2023-09-12
maligned = throw "maligned was deprecated upstream in favor of x/tools/go/analysis/passes/fieldalignment"; # Added 20204-08-24
marwaita-manjaro = lib.warn "marwaita-manjaro has been renamed to marwaita-teal" marwaita-teal; # Added 2024-07-08
marwaita-peppermint = lib.warn "marwaita-peppermint has been renamed to marwaita-red" marwaita-red; # Added 2024-07-01
marwaita-ubuntu = lib.warn "marwaita-ubuntu has been renamed to marwaita-orange" marwaita-orange; # Added 2024-07-08

View File

@ -28438,8 +28438,6 @@ with pkgs;
hasklig = callPackage ../data/fonts/hasklig { };
maligned = callPackage ../development/tools/maligned { };
inter = callPackage ../data/fonts/inter { };
open-fonts = callPackage ../data/fonts/open-fonts { };