go2nix: remove

This commit is contained in:
Paul Meyer 2023-12-27 13:56:47 +01:00
parent 9a8519bdc8
commit 01bc0cb920
4 changed files with 1 additions and 67 deletions

View File

@ -1,45 +0,0 @@
{ lib, buildGoPackage, go-bindata, gotools, nix-prefetch-git, git, makeWrapper,
fetchFromGitHub }:
buildGoPackage rec {
pname = "go2nix";
version = "1.3.0";
rev = "v${version}";
goPackagePath = "github.com/kamilchm/go2nix";
src = fetchFromGitHub {
inherit rev;
owner = "kamilchm";
repo = "go2nix";
sha256 = "1q61mgngvyl2bnmrqahh3bji402n76c7xwv29lwk007gymzgff0n";
};
goDeps = ./deps.nix;
outputs = [ "out" "man" ];
nativeBuildInputs = [ go-bindata gotools makeWrapper ];
preBuild = "go generate ./...";
postInstall = ''
wrapProgram $out/bin/go2nix \
--prefix PATH : ${nix-prefetch-git}/bin \
--prefix PATH : ${git}/bin
mkdir -p $man/share/man/man1
cp $src/go2nix.1 $man/share/man/man1
'';
allowGoReference = true;
doCheck = false; # tries to access the net
meta = with lib; {
description = "Go apps packaging for Nix";
homepage = "https://github.com/kamilchm/go2nix";
license = licenses.mit;
maintainers = with maintainers; [ kamilchm ];
};
}

View File

@ -1,20 +0,0 @@
[
{
goPackagePath = "github.com/Masterminds/vcs";
fetch = {
type = "git";
url = "https://github.com/Masterminds/vcs";
rev = "7af28b64c5ec41b1558f5514fd938379822c237c";
sha256 = "127pamr5lkym3iq6z747bm4y4gyc02glrqb61yv82z1rdyv1dcf6";
};
}
{
goPackagePath = "github.com/jawher/mow.cli";
fetch = {
type = "git";
url = "https://github.com/jawher/mow.cli";
rev = "772320464101e904cd51198160eb4d489be9cc49";
sha256 = "1a8hnh2k3vc3prjhnz4rjbiwhqq6r3mi18h9cdb6fc6s6yzjc19j";
};
}
]

View File

@ -331,6 +331,7 @@ mapAliases ({
gnuradio-nacl = throw "'gnuradio-nacl' has been renamed to/replaced by 'gnuradio3_7.pkgs.nacl'"; # Converted to throw 2023-09-10
gnuradio-osmosdr = throw "'gnuradio-osmosdr' has been renamed to/replaced by 'gnuradio3_7.pkgs.osmosdr'"; # Converted to throw 2023-09-10
gnuradio-rds = throw "'gnuradio-rds' has been renamed to/replaced by 'gnuradio3_7.pkgs.rds'"; # Converted to throw 2023-09-10
go2nix = throw "'go2nix' has been removed as it was archived upstream"; # Added 2023-12-27
gobby5 = gobby; # Added 2021-02-01
#godot

View File

@ -25964,8 +25964,6 @@ with pkgs;
go = buildPackages.go_1_21;
};
go2nix = callPackage ../development/tools/go2nix { };
leaps = callPackage ../development/tools/leaps { };
### DEVELOPMENT / JAVA MODULES