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, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
let version = "0.3"; in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gpart-${version}";
|
||||
version = "0.3";
|
||||
|
||||
# GitHub repository 'collating patches for gpart from all distributions':
|
||||
src = fetchFromGitHub {
|
||||
@@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
inherit (src.meta) homepage;
|
||||
description = "Guess PC-type hard disk partitions";
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user