treewide: Move some meta sections to end-of-file

That seems to be the overwhelming convention.
wip/yesman
Tuomas Tynkkynen 8 years ago
parent 2258b21e4b
commit 63de40099f
  1. 10
      pkgs/applications/networking/p2p/mldonkey/default.nix
  2. 18
      pkgs/development/libraries/libctemplate/2.2.nix
  3. 26
      pkgs/development/libraries/libmhash/default.nix
  4. 12
      pkgs/development/tools/misc/checkbashisms/default.nix
  5. 47
      pkgs/tools/security/steghide/default.nix
  6. 10
      pkgs/tools/typesetting/tex/auctex/default.nix

@ -2,20 +2,20 @@
stdenv.mkDerivation (rec {
name = "mldonkey-3.1.5";
src = fetchurl {
url = "mirror://sourceforge/mldonkey/${name}.tar.bz2";
sha256 = "1jqik6b09p27ckssppfiqpph7alxbgpnf9w1s0lalmi3qyyd9ybl";
};
buildInputs = [ ocaml zlib ncurses bzip2 file gd libpng libjpeg ];
configureFlags = [ "--disable-gui" ];
meta = {
description = "Client for many p2p networks, with multiple frontends";
homepage = http://mldonkey.sourceforge.net/;
license = stdenv.lib.licenses.gpl2;
};
buildInputs = [ ocaml zlib ncurses bzip2 file gd libpng libjpeg ];
configureFlags = [ "--disable-gui" ];
} // (if !ocaml.nativeCompilers then
{
# Byte code compilation (the ocaml opt compiler is not supported in some platforms)

@ -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;
};
}

@ -1,30 +1,29 @@
{ stdenv, fetchurl, libjpeg, libmcrypt, zlib, libmhash, gettext, libtool}:
stdenv.mkDerivation rec {
buildInputs = [ libjpeg libmcrypt zlib libmhash gettext libtool ];
version = "0.5.1";
name = "steghide-${version}";
stdenv.mkDerivation rec {
buildInputs = [ libjpeg libmcrypt zlib libmhash gettext libtool ];
version = "0.5.1";
name = "steghide-${version}";
meta = with stdenv.lib; {
homepage = http://steghide.sourceforge.net/;
description = "Steganography program that is able to hide data in various kinds of image- and audio-files";
license = licenses.gpl2;
};
src = fetchurl {
url = "mirror://sourceforge/steghide/steghide/${version}/steghide-${version}.tar.gz" ;
sha256 = "78069b7cfe9d1f5348ae43f918f06f91d783c2b3ff25af021e6a312cf541b47b";
};
src = fetchurl {
url = "mirror://sourceforge/steghide/steghide/${version}/steghide-${version}.tar.gz" ;
sha256 = "78069b7cfe9d1f5348ae43f918f06f91d783c2b3ff25af021e6a312cf541b47b";
};
patches = [
./patches/steghide-0.5.1-gcc34.patch
./patches/steghide-0.5.1-gcc4.patch
./patches/steghide-0.5.1-gcc43.patch
];
patches = [
./patches/steghide-0.5.1-gcc34.patch
./patches/steghide-0.5.1-gcc4.patch
./patches/steghide-0.5.1-gcc43.patch
];
# AM_CXXFLAGS needed for automake
preConfigure = ''
export AM_CXXFLAGS="$CXXFLAGS -std=c++0x"
'';
# AM_CXXFLAGS needed for automake
preConfigure = ''
export AM_CXXFLAGS="$CXXFLAGS -std=c++0x"
'';
}
meta = with stdenv.lib; {
homepage = http://steghide.sourceforge.net/;
description = "Steganography program that is able to hide data in various kinds of image- and audio-files";
license = licenses.gpl2;
};
}

@ -12,11 +12,6 @@ let auctex = stdenv.mkDerivation ( rec {
outputs = [ "out" "tex" ];
meta = {
description = "Extensible package for writing and formatting TeX files in GNU Emacs and XEmacs";
homepage = http://www.gnu.org/software/auctex;
};
src = fetchurl {
url = "mirror://gnu/${pname}/${name}.tar.gz";
sha256 = "1cf9fkkmzjxa4jvk6c01zgxdikr4zzb5pcx8i4r0hwdk0xljkbwq";
@ -32,6 +27,11 @@ let auctex = stdenv.mkDerivation ( rec {
"--with-lispdir=\${out}/share/emacs/site-lisp"
"--with-texmf-dir=\${tex}"
];
meta = {
description = "Extensible package for writing and formatting TeX files in GNU Emacs and XEmacs";
homepage = http://www.gnu.org/software/auctex;
};
});
in auctex // { pkgs = [ auctex.tex ]; }

Loading…
Cancel
Save