Merge pull request #68355 from nlewo/pr-remove-skydive

skydive: remove it from nixpkgs
This commit is contained in:
worldofpeace 2019-09-10 09:10:00 -04:00 committed by GitHub
commit 0f3f515647
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -326,6 +326,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

@ -13571,12 +13571,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 {