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,14 +1,18 @@
|
||||
{ stdenv, fetchurl, ncurses }:
|
||||
|
||||
let version = "4.6.patch6"; in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "clex-${version}";
|
||||
version = "4.6.patch6";
|
||||
|
||||
src = fetchurl {
|
||||
sha256 = "0bqa2hc9721d62cfsy5c7a5pzgh9b4px7g4q60xlybkwll19qbbp";
|
||||
url = "${meta.homepage}/download/${name}.tar.gz";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "File manager with full-screen terminal interface";
|
||||
longDescription = ''
|
||||
@@ -23,8 +27,4 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ nckx ];
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user