treewide: Move some meta sections to end-of-file
That seems to be the overwhelming convention.
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ctemplate";
|
||||
version = "2.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ctemplate.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A simple but powerful template language for C++";
|
||||
longDescription = ''
|
||||
@@ -10,13 +19,4 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://code.google.com/p/google-ctemplate/;
|
||||
license = "bsd";
|
||||
};
|
||||
|
||||
pname = "ctemplate";
|
||||
version = "2.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ctemplate.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,19 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mhash";
|
||||
version = "0.9.9.9";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
|
||||
sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn";
|
||||
};
|
||||
|
||||
dontDisableStatic = true;
|
||||
|
||||
patches = [ ./autotools-define-conflict-debian-fix.patch ];
|
||||
|
||||
meta = {
|
||||
description = "Hash algorithms library";
|
||||
longDescription = ''
|
||||
@@ -12,17 +25,4 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://mhash.sourceforge.net;
|
||||
license = "LGPL";
|
||||
};
|
||||
|
||||
pname = "mhash";
|
||||
version = "0.9.9.9";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
dontDisableStatic = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
|
||||
sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn";
|
||||
};
|
||||
|
||||
patches = [ ./autotools-define-conflict-debian-fix.patch ];
|
||||
}
|
||||
|
||||
@@ -10,12 +10,6 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1vm0yykkg58ja9ianfpm3mgrpah109gj33b41kl0jmmm11zip9jd";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://sourceforge.net/projects/checkbaskisms/;
|
||||
description = "Check shell scripts for non-portable syntax";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
|
||||
# The link returns directly the script. No need for unpacking
|
||||
unpackPhase = "true";
|
||||
|
||||
@@ -29,4 +23,10 @@ stdenv.mkDerivation rec {
|
||||
fixupPhase = ''
|
||||
sed -e "s#/usr/bin/perl#$perl/bin/perl#" -i $out/bin/checkbashisms
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://sourceforge.net/projects/checkbaskisms/;
|
||||
description = "Check shell scripts for non-portable syntax";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user