skydive: remove it from nixpkgs

The current Skydive version can not be build with a recent Go version
and the maintainer (lewo) is no longer interested in maintaining it.
This commit is contained in:
Antoine Eiche 2019-09-09 14:30:34 +02:00
parent d7f1f19f2c
commit 636e15507b
4 changed files with 1 additions and 1386 deletions

View file

@ -1,45 +0,0 @@
{ lib, buildGoPackage, fetchFromGitHub, perl
, go-bindata, libxml2, protobuf3_1, libpcap, pkgconfig, go-protobuf }:
buildGoPackage rec {
pname = "skydive";
version = "0.17.0";
goPackagePath = "github.com/skydive-project/skydive";
src = fetchFromGitHub {
owner = "skydive-project";
repo = "skydive";
rev = "v${version}";
sha256 = "03y26imiib2v9icrgwlamzsrx3ph6vn582051vdk1x9ar80xp4dv";
};
patchPhase = ''
substituteInPlace Makefile \
--replace ".proto: builddep" ".proto: " \
--replace ".bindata: builddep" ".bindata: "
'';
buildInputs = [ perl go-bindata go-protobuf libxml2 protobuf3_1 libpcap pkgconfig ];
goDeps = ./deps.nix;
preBuild = ''
make -C go/src/github.com/skydive-project/skydive genlocalfiles VERSION=${version}
'';
preInstall = ''
mkdir -p $out/share/skydive
cp go/src/github.com/skydive-project/skydive/etc/skydive.yml.default $out/share/skydive/
'';
postInstall = ''
rm $bin/bin/snort
'';
meta = {
homepage = http://skydive.network;
description = "A real-time network analyzer";
license = lib.licenses.asl20;
platforms = [ "x86_64-linux" ];
maintainers = [ lib.maintainers.lewo ];
};
}

File diff suppressed because it is too large Load diff

View file

@ -325,6 +325,7 @@ mapAliases ({
shared_mime_info = shared-mime-info; # added 2018-02-25
skrooge2 = skrooge; # added 2017-02-18
skype = skypeforlinux; # added 2017-07-27
skydive = throw "skydive has been removed from nixpkgs (2019-09-10)";
slic3r-prusa3d = prusa-slicer; # added 2019-05-21
slurm-llnl = slurm; # renamed July 2017
slurm-llnl-full = slurm-full; # renamed July 2017

View file

@ -13562,12 +13562,6 @@ in
sdnotify-wrapper = callPackage ../os-specific/linux/sdnotify-wrapper { };
};
skydive = callPackage ../tools/networking/skydive {
# XXX: this is failing with Go 1.12. Error is related to cgo, an
# update to this package might fix it.
buildGoPackage = buildGo111Package;
};
slang = callPackage ../development/libraries/slang { };
slibGuile = callPackage ../development/libraries/slib {