mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #68355 from nlewo/pr-remove-skydive
skydive: remove it from nixpkgs
This commit is contained in:
commit
0f3f515647
@ -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 ];
|
||||
};
|
||||
}
|
1335
pkgs/tools/networking/skydive/deps.nix
generated
1335
pkgs/tools/networking/skydive/deps.nix
generated
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user