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:
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, ncurses }:
|
||||
|
||||
let version = "1.0"; in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ftop-${version}";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftop.googlecode.com/files/${name}.tar.bz2";
|
||||
@@ -22,7 +22,6 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "Show progress of open files and file systems";
|
||||
homepage = https://code.google.com/p/ftop/;
|
||||
license = licenses.gpl3Plus;
|
||||
|
||||
Reference in New Issue
Block a user