1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 20:12:52 +00:00
Commit graph

22 commits

Author SHA1 Message Date
Ben Siraphob 76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster 313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Claudio Bley 3b437ebe59 ntopng: Remove broken = true 2019-09-19 12:18:20 +02:00
Claudio Bley c4486a084f ntopng: Add patch needed to build with newer libpcap
Fixes build errors for the third-party mongoose module:
```
In file included from
/nix/store/r5s3w32ahjzdlzsfrhybc3l2qcpi6yb2-libpcap-1.9.0/include/pcap.h:43,
                 from /build/ntopng-2.0/include/ntop_includes.h:93,
                                  from src/HTTPserver.cpp:22:
/nix/store/r5s3w32ahjzdlzsfrhybc3l2qcpi6yb2-libpcap-1.9.0/include/pcap/pcap.h:958: note: this is the location of the previous definition
   #define INVALID_SOCKET -1

src/../third-party/mongoose/mongoose.c:270:13: error: multiple types in one declaration
 typedef int SOCKET;
             ^~~~~~
```
2019-09-19 09:08:50 +02:00
Bjørn Forsman 5667484b64 ntopng: mark as broken 2019-09-17 20:24:28 +02:00
Matthew Bauer 74c784a79c treewide: make -Wno-error flags clang-only
In 724e833ea2, I was a little too aggressive in enabling these flags.
Many don’t work in gcc, and we should probably avoid settings them
widely. This makes those flags optional on isclang
2019-04-29 21:34:24 -04:00
Matthew Bauer 724e833ea2 treewide: disable -Werror for llvm 7
Some of these have errors on newest llvm. It’s easiest to just add
-Wno-error in these cases.
2019-04-26 21:55:04 -04:00
Vladimír Čunát bf25148902
ntopng: fixup build with gcc7
... but the new gcc pointed out some real bug.  I suppose update
would be best: https://github.com/ntop/ntopng/releases
2018-02-18 14:12:43 +01:00
Anthony Cowley 86c3444e03 ntopng: prefer nixpkgs over in-tree deps
I've also added darwin compatibility.
2016-05-11 19:33:08 -04:00
Mariusz `shd` Gliwiński 6783f8dd7b ntopng: 1.2.1 -> 2.0.0 2015-10-28 13:35:09 +01:00
Bjørn Forsman c2aadb38a7 ntopng: add extra download URL
It seems upstream have moved the ntopng-1.2.1.tgz into an "old/"
subdirectory.
2015-08-03 12:19:34 +02:00
Tobias Geerinckx-Rice 55b218160d ntopng: use new geolite-legacy package 2015-04-04 16:23:45 +02:00
Mariusz `shd` Gliwiński 6ca841a4e9 [ntopng] geolite hash update 2015-03-26 16:27:24 +01:00
Bjørn Forsman a6c7c1db7f ntopng: update from 1.2.0 to 1.2.1
Successfully tested with the NixOS ntopng service.
2014-09-27 15:42:18 +02:00
Bjørn Forsman 273aa589d2 ntopng: update hashes and url
All geoip data files have changed, update hashes. The ntopng source url
itself has changed, the source is now located in an "old/" directory
(hash unchanged).

Build tested.
2014-09-27 13:52:19 +02:00
Rob Vermaas 8fc3bedb5a Fix ntopng build 2014-08-26 11:22:23 +02:00
Bjørn Forsman 4d6605e882 Whitespace fixes in package expressions I maintain 2014-01-02 17:58:08 +01:00
Bjørn Forsman a18b92f4e4 ntopng: fix download url
The current one doesn't work. (My bad for not testing properly after
having done the initial download with nix-prefetch-url.)
2013-12-15 19:40:15 +01:00
Bjørn Forsman 3cff0a8014 ntopng: new package
ntopng is a high-speed web-based traffic analysis and flow collection
tool. ntopng => ntop next generation.

http://www.ntop.org/products/ntop/
2013-12-09 21:35:01 +01:00