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, docutils, python }:
|
||||
|
||||
let version = "0.9.0"; in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "git-hub-${version}";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "0c4kq4a906lr8nzway7qh0560n2ydvidh9rlffh44902rd48kp0h";
|
||||
@@ -29,7 +29,6 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
inherit (src.meta) homepage;
|
||||
description = "Git command line interface to GitHub";
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user