Add version attribute where maintainers |= nckx
This will probably be mandatory soon, and is a step in the right direction. Removes the deprecated meta.version, and move some meta sections to the end of the file where I should have put them in the first place.
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
, libnetfilter_conntrack, libnl, libpcap, libsodium, liburcu, ncurses, perl
|
||||
, pkgconfig, zlib }:
|
||||
|
||||
let version = "0.6.0"; in
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "netsniff-ng-${version}";
|
||||
version = "0.6.0";
|
||||
|
||||
# Upstream recommends and supports git
|
||||
src = fetchFromGitHub rec {
|
||||
@@ -41,7 +41,6 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "Swiss army knife for daily Linux network plumbing";
|
||||
longDescription = ''
|
||||
netsniff-ng is a free Linux networking toolkit. Its gain of performance
|
||||
|
||||
Reference in New Issue
Block a user