From 662f6cfde25fb6f42089943b0137d25f82b36a6a Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Tue, 26 Dec 2023 11:27:37 +0100 Subject: [PATCH] dep: remove --- pkgs/development/tools/dep/default.nix | 26 -------------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 pkgs/development/tools/dep/default.nix diff --git a/pkgs/development/tools/dep/default.nix b/pkgs/development/tools/dep/default.nix deleted file mode 100644 index 2c7345d7cc56..000000000000 --- a/pkgs/development/tools/dep/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, buildGoPackage, fetchFromGitHub }: - -buildGoPackage rec { - pname = "dep"; - version = "0.5.4"; - rev = "v${version}"; - - goPackagePath = "github.com/golang/dep"; - subPackages = [ "cmd/dep" ]; - - src = fetchFromGitHub { - inherit rev; - owner = "golang"; - repo = "dep"; - sha256 = "02akzbjar1v01rdal746vk6mklff29yk2mqfyjk1zrs0mlg38ygd"; - }; - - ldflags = [ "-s" "-w" "-X main.commitHash=${rev}" "-X main.version=${version}" ]; - - meta = with lib; { - homepage = "https://github.com/golang/dep"; - description = "Go dependency management tool"; - license = licenses.bsd3; - maintainers = with maintainers; [ carlsverre rvolosatovs ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index b9881eea3b5f..5b71bee60dd3 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -193,6 +193,7 @@ mapAliases ({ deltachat-electron = deltachat-desktop; # added 2021-07-18 demjson = with python3Packages; toPythonApplication demjson; # Added 2022-01-18 + dep = throw "'dep' has been removed, because it is deprecated and archived in favor of Go modules"; # Added 2023-12-26 devserver = throw "'devserver' has been removed in favor of 'miniserve' or other alternatives"; # Added 2023-01-13 dhcp = throw "dhcp (ISC DHCP) has been removed from nixpkgs, because it reached its end of life"; # Added 2023-04-04 dnnl = oneDNN; # Added 2020-04-22 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d40000bb20e..c7cce1b0d5df 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28399,8 +28399,6 @@ with pkgs; delve = callPackage ../development/tools/delve { }; - dep = callPackage ../development/tools/dep { }; - dep2nix = callPackage ../development/tools/dep2nix { }; easyjson = callPackage ../development/tools/easyjson { };