nixpkgs/pkgs/development/libraries/haskell/pcap/default.nix

16 lines
472 B
Nix
Raw Normal View History

{ cabal, libpcap, network, time }:
2013-08-16 13:51:24 +00:00
cabal.mkDerivation (self: {
pname = "pcap";
version = "0.4.5.2";
sha256 = "0pydw62qqw61sxfd8x9vvwgpgl3zp6mqv8rm4c825ymzyipjxsg7";
buildDepends = [ network time ];
extraLibraries = [ libpcap ];
2013-08-16 13:51:24 +00:00
meta = {
homepage = "https://github.com/bos/pcap";
description = "A system-independent interface for user-level packet capture";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})