vgo2nix: drop package

It's deprecated, unmaintained and archived upstream.
This commit is contained in:
adisbladis 2022-08-24 13:16:54 +08:00
parent 0305391fb6
commit 4827266cd7
3 changed files with 1 additions and 41 deletions

View File

@ -1,39 +0,0 @@
{ lib
, fetchFromGitHub
, buildGoModule
, makeWrapper
, nix-prefetch-git
, go
}:
buildGoModule {
pname = "vgo2nix";
version = "unstable-2020-11-07";
src = fetchFromGitHub {
owner = "nix-community";
repo = "vgo2nix";
rev = "4546d8056ab09ece3d2489594627c0541b15a397";
sha256 = "0n9pf0i5y59kiiv6dq8h8w1plaz9w6s67rqr2acqgxa45iq36mkh";
};
vendorSha256 = "sha256-e5n0QhgffzC1igZX1zS18IX5oF5F0Zy/s8jWyNOD8NM=";
subPackages = [ "." ];
nativeBuildInputs = [ makeWrapper ];
allowGoReference = true;
postInstall = ''
wrapProgram $out/bin/vgo2nix --prefix PATH : ${lib.makeBinPath [ nix-prefetch-git go ]}
'';
meta = with lib; {
description = "Convert go.mod files to nixpkgs buildGoPackage compatible deps.nix files";
homepage = "https://github.com/nix-community/vgo2nix";
license = licenses.mit;
maintainers = with maintainers; [ adisbladis ];
mainProgram = "vgo2nix";
};
}

View File

@ -1474,6 +1474,7 @@ mapAliases ({
varnish70 = throw "varnish70 was removed from nixpkgs, because it was superseded upstream. Please switch to a different release"; # Added 2022-03-17
vdirsyncerStable = vdirsyncer; # Added 2020-11-08, see https://github.com/NixOS/nixpkgs/issues/103026#issuecomment-723428168
venus = throw "venus has been removed from nixpkgs, as it's unmaintained"; # Added 2021-02-05
vgo2nix = throw "vgo2nix has been removed, because it was deprecated. Consider using gomod2nix instead"; # added 2022-08-24
vimbWrapper = throw "'vimbWrapper' has been renamed to/replaced by 'vimb'"; # Converted to throw 2022-02-22
virtinst = throw "virtinst has been removed, as it's included in virt-manager"; # Added 2021-07-21
virtuoso = throw "virtuoso has been removed, because it was unmaintained in nixpkgs"; # added 2021-12-15

View File

@ -22222,8 +22222,6 @@ with pkgs;
leaps = callPackage ../development/tools/leaps { };
vgo2nix = callPackage ../development/tools/vgo2nix { };
### DEVELOPMENT / JAVA MODULES
javaPackages = recurseIntoAttrs (callPackage ./java-packages.nix { });